diff --git a/strings.scad b/strings.scad index 0e656f8..42bef64 100644 --- a/strings.scad +++ b/strings.scad @@ -405,7 +405,7 @@ function str_strip(s,c) = str_strip_trailing(str_strip_leading(s,c),c); // fmti(-123456789012345); // Returns "-123456789012345" function fmti(i,mindigits=1) = i<0? str("-", fmti(-i)) : - let(i=floor(i), e=floor(log(i)+1e-15)) + let(i=floor(i), e=floor(log(i))) i==0? "0" : str_join( concat( diff --git a/version.scad b/version.scad index 042742d..9730ff4 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,158]; +BOSL_VERSION = [2,0,159]; // Section: BOSL Library Version Functions