Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datatype possible ?
Message
 
À
18/01/2000 07:33:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00319357
Message ID:
00319362
Vues:
9
Try using SELECT TRANSFORM(number*price, "999999.99") AS costs ...

This is not the *correct* way of doing it but, as long as you don't have large amounts of data to select from, it should be sufficient.

>Hello
>
>I have a select statement:
>
>select (number * price) as costs from TABLENAME
>
>I want price to be in the format like:
>####,## So 2 places after the comma. Can i define a datatype
>for Costs somehow ?
>
>Thanks
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform