There is no possibility as I see it, because you cannot directly
convert a decimal to hyper, at least I can't (again I would be happy
if you prove me wrong with a code snippet). But if you do it with a
conversion to an whole number before, you cannot avoid a possible loss
of data, which would make the use of Decimal useless in this case.

2006/6/27, Bernard Marcelly <[EMAIL PROTECTED]>:
Bonjour Christian Junker
Message du 2006-06-27 16:46:
> Then how would you want to convert it to hyper from Decimal? I believe
> there is no working way to do this, but I would be happy if you prove
> me wrong.
>

I don't see your point. Hyper is a signed 64 bits integer, and it fits
inside a Decimal range. When converting from Decimal to Hyper, of course
  the Decimal value must be an integer value within the range of Hyper.
And the conversion from Decimal internal representation to Hyper should
not pose big problems: Basic already can convert from Decimal to Long.

    Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Best Regards
Christian Junker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to