Hi all,
I see some strange behavior with VFloat field :
I store -18592.01 in it (with SetString or Value, no matter) When I get the value, I see different values in the EditField with GetString and Value :
FloatField.GetString -> -18592 (same in VApp) FloatField.Value -> -18592.0097656
With the value 12394.68, I get :
FloatField.GetString -> 12394.7 (same in VApp) FloatField.Value -> 12394.6796875
Using VDouble, I get the same value that I store.
1/ Is there - a mathematical issue - a Valentina issue - a RealBasic issue
2/ Must I use VDouble field in order to retrieve safely the value I stored ? (I need 2 decimals precision because it's for storing money amount)
Thank you.
Fran=E7ois Van Lerberghe Thier Monty, 15A B-4570 Marchin Belgique ©2001 Francois Van Lerberghe |