‎2006 May 11 3:23 PM
frnds,
any1 aware of a function module to convert a number in exponential form to normal form...
eg... a no. like 1.2000000000E+1 to 12....
Points assured to 1 and all....
Madan.....
‎2006 May 11 3:29 PM
‎2006 May 11 3:27 PM
Hi,
Switch on the FIXED POINT ARITHMETIC check box in the attributes of the program. That will be done for you.
Regards,f
Ravi
‎2006 May 11 3:29 PM
‎2006 May 11 3:33 PM
I dont find any FM , but you can use <u><b>EXP</b></u> (Mathematical function: Exponential function ) !!
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"
‎2006 May 11 3:34 PM
Madan,
You can do it using write statement...eg..
The output of the WRITE statement is "1,414". The standard output for an output length of 6 would be "1E+00".
DATA float TYPE f.
float = sqrt( 2 ).
WRITE (6) float EXPONENT 0.
Cheers,
Nilesh
‎2006 May 11 3:35 PM
use <b>write to</b> or directly assing variable I or num
regards
vinod
‎2006 May 11 3:38 PM
try this..
data: w_num type f value '1.2000000000E+1',
w_num1 type i.
w_num1 = abs( w_num ).
write:/ w_num,w_num1.
regards,
Suresh datti
‎2006 May 11 3:38 PM
Hi,
Check this below code.
DATA v_field TYPE f.
WRITE your field TO v_field.
cheers,
Bujji
‎2006 May 11 3:38 PM
Check this code:
DATA float TYPE f value '1.2000000000E+1'.
WRITE (6) float EXPONENT 0.
Its working.
REgards,
Ravi