Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric format
Message
De
28/09/2006 15:27:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01157946
Message ID:
01157956
Vues:
24
>>Hello.
>>
>>I have a field like this Cantidad n(16,6)
>>
>>sometimes the user writes 1345.9 4505.103 5413.44
>>
>>but when I print the field in the report writer the output is
>>
>>1,345.900000
>>4,505.103000
>>5,413.440000
>>
>>I don't want to show the last zeroes in the decimal part.
>>
>>I've been trying to do that with Transform but I can't find a way.
>>
>>c.x.
>
>you may try alltrim(padr(myNumber,16))

Nope,
This doesn't remove the trailing zeros.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform