Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The old issue ( bug ) on ROUND() function
Message
From
14/01/2005 07:55:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/01/2005 05:04:26
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00977091
Message ID:
00977154
Views:
23
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform