This website is not affiliated with, sponsored by, or approved by SAP AG.

AMOUNT ROUNDING OFF

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, Gothmog, YuriT

AMOUNT ROUNDING OFF

Postby R.M.K.RAMAN » Tue Aug 05, 2003 2:00 am

Hi

Can any one tell me , is there any function Module for amount rounding off.
If so how to use it.

thanks in advance.

regards
R.M.K.RAMAN
R.M.K.RAMAN
 

Postby Oskar » Tue Aug 05, 2003 2:06 am

Perhaps, the arithmetic expression TRUNC may help you.

Oskar
Oskar
 
Posts: 94
Joined: Thu Jan 02, 2003 12:58 pm
Location: Terrassa

Postby Greg Milici » Tue Aug 05, 2003 2:09 am

There is a very straightforward function module called ROUND. All you need to pass in is a numeric field (type F, P or I) and the number of decimals you want it rounded to. You can also round up or round down using the SIGN option

Greg Milici
Greg Milici
 
Posts: 15
Joined: Mon May 05, 2003 7:21 pm
Location: Melbourne, Australia


Return to ABAP

Who is online

Users browsing this forum: No registered users and 8 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.