Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MATERIAL_UNIT_CONVERSION round down

Former Member
0 Likes
410

The qty on delivery is 31 EA and 1CS =12 EA for this item, so the qty. conversion would be 2.58 CS and because of the rounding down to the closest integer it should be 2 and not 3.

Is it possible to round down the qty with FM MATERIAL_UNIT_CONVERSION?

1 ACCEPTED SOLUTION
Read only

former_member125661
Contributor
0 Likes
305

Use the command floor to round down.No need to use Func Module.

d = 2.62

x = floor(d) = 2 .

1 REPLY 1
Read only

former_member125661
Contributor
0 Likes
306

Use the command floor to round down.No need to use Func Module.

d = 2.62

x = floor(d) = 2 .