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:31:27
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
03/11/2000 11:09:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00437662
Message ID:
00441007
Vues:
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform