Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VAL() Question
Message
 
 
To
06/09/2001 14:31:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00553316
Message ID:
00553321
Views:
13
This message has been marked as the solution to the initial question of the thread.
>Is this possible?
>
>table.fieldname = ' 2'
>When I capture VAL(table.fieldname), I get 2.00 . Is there a way to just get the numerical 2 without the decimal?
>
>thanks

INT(VAL(table.fieldname))

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform