Discovered: Sketchup DC Math is a bit weird

I have a property I call Data_Inches and another one I call Data_Centimeters.

One has value 1" and the other 1cm .

I have two other properties:

InchesPlusCentimeters = Data_Inches + Data_Centimeters

CentimetersPlusInches = Data_Centimeters + Data_Inches

The first one evaluates to 5.08cm

The second one evaluates to 3.54cm

So the order of operands to the addition operator changes the value. In Sketchup formulas, addition is not commutative.

Are these rules documented anywhere?

Generally, if anywhere, then somewhere here:

This topic was automatically closed after 91 days. New replies are no longer allowed.