Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alltrim for numeric variables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520367
Message ID:
00520461
Vues:
17
>I have a very large numeric field
>
> When I print it there's a space at left as below:
>
> Value: 75.00
>
> I've tried
>
> alltrim (str(my_variable))
>
> However .00 desapears. I it appears:
>
> Value: 75
>
> Is there a better way to do that ?

ALLTRIM(STR(my_variable, 10, 2))
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform