Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STR() rounds numbers longer than 17 digits...?
Message
De
03/01/2001 09:55:06
Andrzej Majlich
Vulcan sp. z o. o.
Wroclaw, Pologne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00458883
Message ID:
00458910
Vues:
20
>? transform(-$922337203685477.5807,'99999999999999999.9999')
>shows -922337203685477.5807

TRANSFORM really does a thing. But 16 digits handled by STR aren't an effect of converting currency to numeric. Notice that

>>str(-922337203685477.5807,21,4)=='-922337203685477.6000'

doesn't deal with currency type variable or literal. So the question about the STR is valid.
_________________

*|| Andrzej [NJ].
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform