Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform command
Message
De
05/03/2002 06:51:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/03/2002 06:26:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00628282
Message ID:
00628290
Vues:
15
>I would like to display a digit with 4 decimals as a string.
>But when I use to following syntax:
>
> ab=0.1111
> ?TRANSFORM(ab,'999999.9999')
>
>this returns '0.1110' ->is this normal ?
>
>BTW. I can't change the syntax to str(?,?). this would be to much work to change.
>
>Please help me ASP

Though there is a slight change between VFP6 and 7 set decimals works in both :

set decimals to 4
ab=0.1111
?TRANSFORM(ab,'999999.9999')

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform