Sorry to make you feel that way. I'm trying to be responsive, open and transparent.
In the spirit of that, here is the key text from the bug report logged a few months ago. Our plan from day one with this issue is to fix exactly what you are complaining about. My own (irrelevant) opinion was posted above, that the expression should show an error if it is in fact (currently) unacceptable syntax. I think both ideas are not exclusive or incorrect, but that is only my opinion.
One possible solution would be to fix it in two stages, first by properly blocking "bad" syntax, and next by the longer term project of making it work with units.
Again, sorry for any bad feelings.
(from the bug report)
"However, as we tested, they do accept values with either unitless or unit, which brings confusion. For example, if the following user parameter (test1, test2, etc) has mm as unit. We can see the evaluated results are kind of unexpected, especially for "floor (5.55mm) = 0 mm"
test1 = floor(5.55 mm) = 0 mm
test2 = floor(5.55 cm) = 50 mm
test3 = floor(5.55 dm) = 550 mm
test4= floor(5.55) = 5 mm
It seems the floor function is trying to convert other units to cm then rounding. (The underlying length unit in Fusion is cm.) The rounding is based on its corresponding cm value, i.e. floor (5.55mm) = floor (0.555cm) = 0 cm = 0 mm
Expected result:
If the functions accept value with unit, the rounding should be based on the unit of the user parameter, instead of cm."
Phil Eichmiller
Software Engineer
Quality Assurance
Autodesk, Inc.