Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wead Text Conversion with Transform command
Message
De
05/04/2001 08:35:59
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00492277
Message ID:
00492279
Vues:
17
>Hi,
>
>I try to make a conversion.
>Numeric to Caractere with the transform command.
>
>Ex:
>Normaly
>Transform(8.55) --> 8.55
>but i got
>Transform(8.55) --> 8.55000000000000001
>
>Do you have a Idea why and how to bypass it...
>Rock

Hi,

Add a format to the TRANSFORM:-

? Transform(8.55, "9,999.99")
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform