it seems that the modulo operator doesn't return the correct dimension.
Actually I think mod(x;y) should do the same as 'x/y-floor(y/y)'
While mod(7mm;3) returns correct 1mm, mod(7mm/3mm) throws an error instead of the correct result 1
I added a FreeCAD Spreadsheet which documents the mod results against the 'x/y-floor(y/y)' results.
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.11586 (Git)
Build type: Debug
Branch: (HEAD detached at e6b9ec5db)
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.1.0