Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL formatiing question
Message
De
21/07/1999 08:45:12
 
 
À
21/07/1999 08:18:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00243666
Message ID:
00244074
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform