Resolving Wrong Evaluation of Workbench Expression Parameters

Why are my Parameters in the Expressions of the Workbench Platform Parameter Manager wrongly evaluated?

The following functions that can be used in Workbench expression are designed to perform on number argument. Although there is no warning/error given when they are used on quantities, the result returned by the functions can implicitly depends on project unit system and can sometimes be unexpected.

int
nint
abs
fabs
sign
ceil
floor
round
trunc

Suggested way for applying these functions on quantities is by converting between quantity and number before and after calling the functions, so to get a definite result. For example, suppose a length parameter P1 has value 97.5 [mm], instead of calling

round(P1)

a reliable way would be:

round(P1/1[mm])*1[mm]