I am aware of the floor() and ceil() functions. However, I am looking for a way to round a number to a multiple of another number.
For example, if I had:
num_original = 4.5205
and I wanted to round to the closest multiple of 0.5, the result would be:
num_rounded = 4.5
Is there a way to accomplish this in Pro/E?
Thanks!
For example, if I had:
num_original = 4.5205
and I wanted to round to the closest multiple of 0.5, the result would be:
num_rounded = 4.5
Is there a way to accomplish this in Pro/E?
Thanks!