VDouble.GetString return formatted string 15 char long

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Tue Jun 14 00:59:06 CDT 2011


On 6/12/11 2:03 PM, "Bart Pietercil" <bart.pietercil at cognosis.be> wrote:

> No, we've been bitten also (in vReports, doubles show up the same way,
> annoying).
> 
> Bart Pietercil
> CTO Cognosis NV
> 
> On 11 Jun 2011, at 11:25, Francois Van Lerberghe wrote:
> 
>> Hello,
>> 
>> Using V4RB 4.3 mac_ub, if you store 12.345 in a VDouble,
>> VDouble.GetString return "      12.345000" (15 char long).
>> 
>> In the previous versions (v1, v2, v3.5), VDouble.GetString gave me "12.345".
>> 
>> This change broke a lot of my existing code.
>> Am I the only one who is affected by this change ?
>> Is it a bug or is it intentional ?
>> Can I modify this ?

DOUBLE and FLOAT fields

More than year or two have additional properties

    scale and ...

I believe they control how value is converted into string.


Ivan?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list