‎2007 Aug 17 11:39 AM
hi,
i have a doubts in smart form.I want to print the decimal value(0.00)..
i defined..
data it_val type p
i am not getting decimal value , its printing 200 not 200.00
if i want to print with decimal which data type i have to define.pls suggest me.
‎2007 Aug 17 11:42 AM
Hi Thanuskodi,
You need to declare it as
data: it_val type p(4) decimals 2.
It will allocate 2 digits for decimal values.
<b>Reward points for helpful answers.</b>
Best REgards,
Ram.
‎2007 Aug 17 11:40 AM
Hi
Use Character Fields in Smartform to Print any Decimal Values.
<b>Reward if Helpful</b>
‎2007 Aug 17 11:41 AM
‎2007 Aug 17 11:42 AM
Hi Thanuskodi,
You need to declare it as
data: it_val type p(4) decimals 2.
It will allocate 2 digits for decimal values.
<b>Reward points for helpful answers.</b>
Best REgards,
Ram.
‎2007 Aug 17 11:45 AM
hi all,
I have to define in global definition, there ican't define it_val type p decimals 2 value 0 like that..
there i can define it_val type p only..
i defined this way its not displaying decimal value it printing 200 not 200.00.