----boundary-LibPST-iamunique-1143359697_-_-
Content-type: text/plain
Yes it seems so. Yes it should. --FT
> I'm storing a currency value in a DECIMAL(15,2) column. Then I have to
> print out a list. TO do this, I convert the Currency-value to a REAL via
>
> REAL=CURRENCY.val/Math.Power(10,CURRENCY.scale),
>
> and then I use TextMappers.Formatter.WriteReal for output.
>
> This SOMETIMES leads to something like
> Currency = 69.0
> REAL = 68.9999999999
>
> Is this the same topic?
>
> Would it be better to transform the currency.val to a ARRAY 15 OF CHAR
> and then enter the decimal point according to .scale?
>
> Rene
>
> ftkachov{([at]})nowhere.xy>
> > Should not the matter of
> > intVar = realVar
> > be left out of the Language Report as it seems to be implementation
> > dependent?
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-1143359697_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVm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