Hi,
I am trying to convert a variable from double to long.
Anybody have any idea of how to do this without losing any of the number after the decimal point??
I have try to first convert it to a string using _fcvt(),
and then from string convert it back to long using atol().
But it doesn't work, anybody have any ideas???
Regards,
Raphael
I am trying to convert a variable from double to long.
Anybody have any idea of how to do this without losing any of the number after the decimal point??
I have try to first convert it to a string using _fcvt(),
and then from string convert it back to long using atol().
But it doesn't work, anybody have any ideas???
Regards,
Raphael