>Hi,
>
>a workaround to the currency index bag, Thread #
802831, on VFP7 and VFP8 is to use NTOM() function, but numeric approximation put another limit
>
>?NTOM(MTON($225179981368.5286)) && VFP round error
Yes, numeric gives you a range of about 15-16 significant digits. It seems this number is outside the range of significant digits, for numeric.
Currency gives you, in total, more significant digits - but at fixed positions. Actually, I understand that "currency" values are stored internally as an 8-byte integer.
>?NTOM(922337203685477.5807) && VFP error
Outside the range for currency, unfortunately.
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)