Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Currency format
Message
 
À
05/04/2007 14:54:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01212654
Message ID:
01213427
Vues:
20
You just have to set the inputmask and format properties of the control to the desired format. For example:
  Thisform.textbox1.InputMask="999,999,999.99" 
  Thisform.textbox1.Format="R" 
HTH,

Enmanuel

>Why does the Currency field type carry 4 decimals, and if it is used in a form textbox or report control, how should it be formatted so it only displays 2 decimals?
>
>Seems like a bother to me. Why not just use N(10,2)?
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform