Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invert a numeric value
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01004535
Message ID:
01004539
Views:
18
lnMyVal = 1234
lnMyVal = -lnMyVal
but maybe I haven't got the problem !! :-)

>Hallo!
>I have a problem that makes me very frustrated. I must be blind.
>Im trying to find a simple function to change sign (invert) on a numeric value. (Change 1234 to -1234)
>I have looked in the whole helpsystem, but I cant find anything. There must be something somewhere. VFP has a lot of functions for manipulating numeric values, but not anything for this task.
>Does anyone have a simple solution on this (simple) problem?
>
>Thanks
>/Kjell
Previous
Reply
Map
View

Click here to load this message in the networking platform