[Gambas-user] Bug in gb2 and gb3 in float

Wellington de Souza Pinto wspinto at ...1405...
Wed Dec 29 19:09:05 CET 2010


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 20000 and press tab key

     The Resta show 5123,56

2 - click in button "Lançar"

3 - Click in "Dinheiro" button
     Using the mouse click in "Valor Dinheiro" textbox
     type 5123,56 and press key tab

The error is.

Resta = 5123,56 (float)
mskVALOR = 5123,56
The breakpoint in 162
in debug window:
       ? vrresta  -> show(5123,56)
       ? tmpvalor -> show(5123,56)
       ? vrresta = tmpvalor ->show(FALSE)
PRESS Shift+F8 to continue to next line

Again in debug windo type:
? vrResta
9,094947017729E-13

????????????

I'm use fc13, fc14 and ubuntu 10.10 in my computer for tests.

Reguards,

Wellington
___________________________________________________________________________________
Para fazer uma ligação DDD pra perto ou pra longe, faz um 21. A Embratel tem
tarifas muito baratas esperando por você. Aproveite!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Calcula-0.0.2.tar.gz
Type: application/x-gzip
Size: 71134 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101229/6000834d/attachment.bin>


More information about the User mailing list