main logo
Subject: Re: [V4RB] VFloat - strange behavior
Author: Elias
Posted: 2001/08/30 08:04:34
 
View Entire Thread
New Search


Francois Van Lerberghe wrote:

> (I need 2 decimals precision because it's for storing money amount)

John covered the why, but suggested a different fix to the one I use.

if the value is stored as a number of pence/cents/centimes/... then you can
store it as a Long int (up to very silly amounts)...then just convert for
display using int * .01

HTH

Elias.
 
©2001 Elias
<-- Prior Message New Search Next Message -->