variables transformation
Posted: Sat Jul 04, 2015 7:22 am
Dear Tom
Looks like RATS do not accept "/" as exponent. There is, if I do:
display 9**(0.5) it gives me 3, but if I do
display 9**(1/2) it gives me 1
I actually needed a formula like:
set interm = inter**(1/12) to calculate monthly interest from the yearly value, but it does not work
If I do interm = inter**(0.083333333) it does work, but I want to use the fraction (1/12) as exponent…
what should I do?
Ricardo
Looks like RATS do not accept "/" as exponent. There is, if I do:
display 9**(0.5) it gives me 3, but if I do
display 9**(1/2) it gives me 1
I actually needed a formula like:
set interm = inter**(1/12) to calculate monthly interest from the yearly value, but it does not work
If I do interm = inter**(0.083333333) it does work, but I want to use the fraction (1/12) as exponent…
what should I do?
Ricardo