Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dropping decimals when printing a report
Message
 
À
19/05/2006 09:11:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01123493
Message ID:
01127553
Vues:
18
Hilmar,

I will keep this suggestion in mind. At this moment my main apps have not (yet) moved to VFP9.

Regards,

Ron
>>In a report I need to print numbers with only the relevant decimals. 100.001 should print the same but 100.000 should only print as 100. Is there an easy way to do this or do I need to program this?
>>
>>Regards,
>>
>>Ron Brahma
>
>
>transform(number)
>
>* or, apparently safer:
>
>alltrim(padl(number, 20))
>
>* or (requires VFP 9)
>
>cast(number as M)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform