‎2008 Jul 10 11:43 AM
HI All,
I want to print output in smartforms with the following format.
Quantity is given e.g. like 2.00
and i want its in integer format.
so can i use function module to round the quantity,if any please let me know.
thanks in advance,
Supriya.
‎2008 Jul 10 11:47 AM
Hi Supriya,
Please check this link
CATSXC_ROUND_QUANTITY
Best regards,
raam
‎2008 Jul 10 11:48 AM
Hi,
Use the FM 'ROUND'...
This will suit your requirement...Pass the correct types to the FM
Reward if useful
Regards
Shiva
‎2008 Jul 10 11:50 AM
simply use FM - ROUND
give sign as 'X' . This will work for quantity of any length
‎2008 Jul 10 11:50 AM
Hi,
We have mathematical functions like CEIL(Variable) or FLOOR(Variable). Try this.
For example:
CEIL( quantity ).
FLOOR( quantity ).
‎2008 Jul 10 11:50 AM
Hi,
Declare the quantity field as type p decimals 0.
Hope this helps you.
<removed_by_moderator>
Thansk & Regards,
Y.R.Prem Kumar
Edited by: Julius Bussche on Jul 10, 2008 11:59 AM
‎2008 Jul 10 12:01 PM