Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Negative Numbers in Parenthesis
Message
De
22/05/2003 01:52:37
 
 
À
23/04/2003 15:53:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00780813
Message ID:
00791464
Vues:
15
if n is the number ..

lcNumber=iif(n<0,'('+alltrim(str(-n,10,2))+')',alltrim(str(n,10,2)))

format the inner string as necessary [str(n,10,2)]

hope this is what you are looking for

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform