Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL formatiing question
Message
From
21/07/1999 08:45:12
 
 
To
21/07/1999 08:18:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00243666
Message ID:
00244074
Views:
17
>thanks - I gues I've been trying to avoid the 'string conversion and back' tricks - was hoping forsomething more native to SQL and numbers.
>Thanks for replies!
>Ken
>
>>This is untested, but would val(str(qty*price, 14, 4)) return the proper digits?

Ken,

I've just tried this (fpw26) and I think you'll need DECIMALS set to 4 to get the output you want - otherwise the VAL() will trim it back to 2 decimal places.
regards

Ian
Previous
Reply
Map
View

Click here to load this message in the networking platform