Information générale
Catégorie:
Codage, syntaxe et commandes
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;
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement