main logo
Subject: Re: [V4RB] VFloat - strange behavior
Author: Charles Yeomans
Posted: 2001/08/30 12:56:32
 
View Entire Thread
New Search


On Thursday, August 30, 2001, at 01:12 PM, Ruslan Zasukhin wrote:

> on 8/30/01 19:17, Francois Van Lerberghe at fvanlerberghe /at/ freegates D.OT be
> wrote:
>
>>> I think it's best to store money values as a double, passing an
>>> integer
>>> value.
>>
>> I don't understand very well. Do you mean to have a VDouble field
>> (MyVDoubleField) and write
>>
>> MyVDoubleField.Value = myIntegerVariable
>>
>> Could you explain ?
>
> I also do not understand, Charles.
>
> What sense store integer values into VDouble field ?
>

Sorry, I meant integers in the sense of arithmetic, not the datatype.
It's certainly conceivable that you might need to store an whole number
greater than 2^32 when dealing with money. I suppose you could use a
LLong field, but for RB it's usually more convenient to use a Double
field.

Charles Yeomans
 
©2001 Charles Yeomans
<-- Prior Message New Search Next Message -->