[V4RB] VDouble precision and scale

Stan Busk maxprog at mac.com
Fri Nov 23 11:56:07 CST 2007


Hi,

v3.0 release note says:
DOUBLE/FLOAT columns now have (precision, scale) parameters. Only  
scale is taken into account by GetString().

I am not sure how to use this command anyway. Do you have an example  
somewhere?

Stan

> On 23/11/07 6:07 PM, "Stan Busk" <maxprog at mac.com> wrote:
>
> Hi Stan,
>
>> A few questions about VDouble precision and scale.
>>
>> 1.- How do I set it? I don't see in WiKi that a constructor can
>> include a precision and scale parameters.
>> http://www.valentina-db.com/dokuwiki/doku.php?id=paradigma:public:en:documenta
>> tion:api:vdouble_class:construction_methods&s=vdouble
>>
>> 2.- How can I update a database schema changing the precision and
>> scale parameters of an existing double?
>> vdb.Table("tblTable").DoubleField("flField").????? <- I haven't found
>> any parameter so far.
>
> I think we have only SQL way for this.
>
>> 3.- Can I update a Double precision and scale parameters without
>> losing existing value?
>
> No loosing, this parameters only affects string to/from conversion.
>
>
> NOTE: as I remember we did add few months ago support only of one of  
> this
> params, second still is just ignored.
>
>
> -- 
> 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]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list