diff --git a/strings.scad b/strings.scad index e65fde4..a051462 100644 --- a/strings.scad +++ b/strings.scad @@ -174,8 +174,8 @@ function str_frac(str,mixed=true,improper=true,signed=true) = numerator = _str_int_recurse(split[0],10,len(split[0])-1), denominator = _str_int_recurse(split[1],10,len(split[1])-1) ) !improper && numerator>=denominator? (0/0) : - denominator<0 ? (0/0) : numerator/denominator; - ) + denominator<0 ? (0/0) : numerator/denominator + ); // Function: str_num() // Usage: diff --git a/version.scad b/version.scad index 75b8177..c3b142f 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,156]; +BOSL_VERSION = [2,0,157]; // Section: BOSL Library Version Functions