Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The old issue ( bug ) on ROUND() function
Message
De
14/01/2005 07:55:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/01/2005 05:04:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00977091
Message ID:
00977154
Vues:
25
>Run this:
>
>CLEAR
>FOR K=3 TO 15
>    x=ROUND(ROUND(147.325,m.k),2)
>	? m.k	,	m.x
>NEXT
>
>
>First new VFP10 behaviour to implement:
>DECIMAL(N,M) datatype.
>with INTEGER 64 or INTEGER 128 format
>
>Fabio

... or packed decimal (BCD). Come to think of it, there would hardly have to be any restriction to the size.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform