‎2006 Feb 03 3:35 PM
Hi all,
I want to perform logarithmical expressions in ABAP.
For example i want to have the LOG10 from 300 and get it back with another function, which i don't know.
I have 300, i use the line
lv_value := LOG10( 300 ).to get the value 2,477...... in lv_value.
Now i want to use a function to get back the number 300 from 2,477.....
Does anyone know which function i have to use for that?
Thanks in advance.
Marcel Leeraar.
‎2006 Feb 03 3:44 PM
Use the EXP command
Exp ( Log10 * Ln(10) )
Rgd
Frédéric
Message was edited by: Frédéric Girod
‎2006 Feb 03 3:44 PM
Use the EXP command
Exp ( Log10 * Ln(10) )
Rgd
Frédéric
Message was edited by: Frédéric Girod
‎2006 Feb 03 4:12 PM
‎2006 Feb 03 4:20 PM
hi,
Chk this out as this is the simplest way to achieve what you wanted.
data: v_num type p, v_exp type p, v_res type p.
v_num = 10.
v_exp = '2.47'.
v_res = v_num ** v_exp.
write 😕 v_res.
Regards,
Jhansi.
Reward points for helpful answers.