Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I am getting 8 decimals places in my result query?
Message
De
13/11/2000 10:40:08
 
 
À
13/11/2000 10:31:27
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00437662
Message ID:
00441016
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform