Yuri,
What's great! Could you also add division and multiplication? This would be a terrific enhancement.
BTW, what does the second example do?
>For those of you who need to perform calculations with precision better than 16 in VFP6 there is a new file YMORE16.exe to download from
WWW.FOXITE.COM.
>
>YMORE16 works with positive and negative numbers written and stored as STRING.
>YMORE16 performs addition or subtraction on two numbers and returns the result as a STRING.
>Limits on number of decimals remain the same: maximum number of decimal places is 18 and the minimum is zero.
>
>Syntax examples:
>?ymore16("123456789012345.1234589", "+", "98765432109872345.1234589")
>?ymore16("+123456789012345.1234589", "", "-98765432109872345.1234589")
>?ymore16("-123456789012345.1234589", "-", "-98765432109872345.1234589")
>
>I will appreciate feedback with comments, opinions, bugs reports etc.
>
>Yuri Rubinov
>
rubinov@juno.com
If it's not broken, fix it until it is.
My Blog