max/min Bugfix

max(0, 1cm)// 0 ... 0 assumed unit "m". on comparison 0.01m was less than 0