[Gambas-user] Bug in convetion values

Benoît Minisini gambas at ...1...
Wed Dec 29 19:49:29 CET 2010


> Hi again!
> 
> Create one new project and in u class type
> 
> ' Gambas class file
> PUBLIC vrDOCTO AS Single
> 
> PUBLIC SUB Form_Open()
>   vrDOCTO = 0.1
>   PRINT vrDOCTO
> END
> 
> 
> Run the program and in debug window show:
> 
> 0,10000000149
> 
> (teste:17087): GLib-GObject-WARNING **: instance with invalid (NULL) class
> pointer
> 
> (teste:17087): GLib-GObject-CRITICAL **:
> g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE
> (instance)' failed
> 
> 
> Reguards,
> 
> Wellington

Again, this is not a bug, this is normal floating-point values rounding. 
Search on the mailing-list, there are already posts that will explain you 
everything about that.

Regards,

-- 
Benoît Minisini




More information about the User mailing list