Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Round up problem
Message
De
01/08/2007 11:02:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Round up problem
Divers
Thread ID:
01245162
Message ID:
01245162
Vues:
67
round(myfield,2)
if myfield = 2.159 . the return result is 2.16 (which is correct)
However, if myfield =-2.159 , the return result becomes -2.1
my client complaint the result should be -2.16 , but not -2.1

any round up function for -ve ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform