Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG in VAL() function
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00858634
Message ID:
00858641
Views:
20
Esparta,

There was a thread about this a few days ago. You need to alltrim() the value before sending it to val().

>I don't know if this was already reported, but at spanish newsgroups posted this bug:
>
>? VAL('$95.00                     ')
>
>
>This is just with the number, and spaces above. The bug consist that the result value is $-2,147,483,553.00 , this is just weird!!...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform