Hi!
I sent isolate program to test the error.
execute the program and follow this steps:
1 - Click in Cheque button
Using the mouse click in Valor Cheque textbox
type 2 and press tab key
The Resta show 5123,56
2 - click in button Lançar
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
http://en.wikipedia.org/wiki/Floating_point#Minimizing_the_effect_of_accuracy_problems
Benoit, maybe you can add datatype 'decimal' in wish list?
Jussi
On Wed, Dec 29, 2010 at 20:09, Wellington de Souza Pinto