‎2009 Aug 28 7:08 AM
Hi Expart ,
I am using a variable of type F (v_min). I don't want the decimals or Exponent .say Example v_min = 4.85.
i only need to display 4 not the decimals .if i use exponent 0 and decimals 0 then it become '5' .but i dont want 5 i need 4 .same thing happenning if i used i or p data type .
Please help me to get the correct value .
Thanks in advance
Raju
‎2009 Aug 28 8:01 AM
Thanks Vikranth.Reddy .By your ans i have solved the problem i give you 10
‎2009 Aug 28 7:13 AM
Hi,
Declare the variable as type F and use TRUNC function
Eg,
data: var type F value '4.85',
result type I.
result = TRUNC( var ).
write: result.
‎2009 Aug 28 7:44 AM
‎2009 Aug 28 8:01 AM
Thanks Vikranth.Reddy .By your ans i have solved the problem i give you 10
‎2009 Aug 28 8:04 AM
Hey tarak seems you have given only 6. Hope its a correction to be rectified.