Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number formatting
Message
 
À
04/03/2002 12:33:15
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00627848
Message ID:
00627910
Vues:
10
Yes, but I want also to display values in scientific notation. I need to show values in a large range (i.e. from 1000000 to 1E-20) more readibly, instead of 0.1234567890432008E-14. I'd like to find something similar to printf("%.5g") in C language.

>If you want to utilize rounding use:
>
>Round(YourvariableHere, rountto#ofdigits)
>
>If you just want the string tiself use:
>
>Format(Yourvariablehere, "#####.00000"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform