For example, if I enter: 'trunc(2.016)' I get the expected result of 2.000
However if I enter: 'trunc(.Constraints.input)' where .Constraints.input is equal to 2.016 I get the erroneous result of 2.008.
It has something to do with units because if I enter: 'trunc(2.016in) I also get the erroneous result of 2.008.
I get the same results if I do the same thing in a FreeCAD spreadsheet.
I know this must be something I'm forgetting or doing wrong as I believe I got this working once before.
I would certainly be grateful if someone could get me pointed in the right direction!
Jody
Code: Select all
OS: Debian GNU/Linux 10 (buster) (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.21.30623 (Git)
Build type: Unknown
Branch: myWorkBranch
Hash: 27f08f38b1658e419e20a153e13236eff1293b77
Python 3.7.3, Qt 5.11.3, Coin 4.0.0a, Vtk 6.3.0, OCC 7.3.0
Locale: English/UnitedStates (en_US)
Installed mods:
* lattice2 1.0.0
* Assembly4 0.12.4
* Curves 0.5.8
* fasteners 0.4.13
* sheetmetal 0.2.57