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:40:08
 
 
To
13/11/2000 10:31:27
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00437662
Message ID:
00441016
Views:
10
>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?
-------------
Hi Cindy and nice to hear from you again....
thanks for the code..that helps a lot...
My SELECT notes are really growing...
I have:
select_logic.txt
select_math_stuff.txt
select_date_type.txt (yours)
select_orphans.txt....::))))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform