and back to the double case:
Quote:

When an object of floating type is converted to an integral type, the fractional part is truncated. No rounding takes place in the conversion process. Truncation means that a number like 1.3 is converted to 1, and –1.3 is converted to –1.




now, isn't that the standard way?
so, if one passes a numeric double (not array of chars) to variant and I use variants change type, I loose everything after decimal point.

so, unless I start doing data type conversions and mangles and gangles inside the dll, pure double is no option, right?
_________________________
!

download KiXnet