Currently, FLOOR() and CEIL() always take their argument as being in the units of the part, regardless if alternate units have been assigned to the parameter being evaluated. This makes it impossible to properly truncate a value that has a unit of measure that does not match the units of the part.
New, properly unit senstitive functions should be created, perhaps CEIL_US() AND FLOOR_US().
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.