Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I am getting 8 decimals places in my result query?
Message
From
13/11/2000 10:31:27
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
03/11/2000 11:09:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00437662
Message ID:
00441007
Views:
14
Robert,

In general, to force a specific data type use something like:

SELECT PADR(cMyText, 30) AS cMyText
SELECT nMyValue + $0.0 AS yMyMoney
SELECT nMyValue + 000000.00 AS nMySpecificNumericValue




>Hear is my SELECT statement:
>SELECT some_number AS mynumber FROM mytable
>
>the data type of mynumber is 20.8 and I would like it to be 8.4.
>any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform