>Hello comunity
>
>i need to calculate tax rates on VFP, but i have always the "error divide by zero"
>The values are:
>
>10000,00 / 0,55666
>
>also, how can replace "," to ".".
>
>Could someone help me,
>
>Many thanks
>Luis Santos
Try using CAST function with both values, e.g.
CAST(dividend as N(10,2)) / CAST(divisor as N(17, 6))
If it's not broken, fix it until it is.
My Blog