General information
Category:
Coding, syntax & commands
The easiest way I know is to pass the double value and a 8-byte char string to a dll C function that takes the double and maps it to the string (it can be done with only one copy of a double and some casts, which is very fast). I think I gave once some code for this on UT but I can't find it right now.
Since VFP knows that it has passed a 8 byte string, it will receive a 8 byte string, so, no problems if a chr(0) reuslts in the string from the conversion.
Vlad
>Converting VFP numbers to DOUBLE representation is the stumbling block here;
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only