Hi all.
I use equations to set up a production, I need to round a rating up to the next 5.
Does anyone have an idea.
Kind regards.
Thank you in advance.
Hi all.
I use equations to set up a production, I need to round a rating up to the next 5.
Does anyone have an idea.
Kind regards.
Thank you in advance.
Here is a mathematical method that works for all rounding:
Variables:
The equation:
5 x Whole(0.99+C/5)
which gives in Solidworks equation language: = 5 * int(0.99 + C / 5)
if C=1 --> Result =5
if C=5 --> Result =5
if C=6 --> Result =10
if.....