Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alltrim for numeric variables
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520367
Message ID:
00520461
Views:
16
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform