Typo fix.

This commit is contained in:
Revar Desmera 2020-03-05 02:08:50 -08:00
parent 9b87420c12
commit 05405564b4
2 changed files with 3 additions and 3 deletions

View file

@ -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), numerator = _str_int_recurse(split[0],10,len(split[0])-1),
denominator = _str_int_recurse(split[1],10,len(split[1])-1) denominator = _str_int_recurse(split[1],10,len(split[1])-1)
) !improper && numerator>=denominator? (0/0) : ) !improper && numerator>=denominator? (0/0) :
denominator<0 ? (0/0) : numerator/denominator; denominator<0 ? (0/0) : numerator/denominator
) );
// Function: str_num() // Function: str_num()
// Usage: // Usage:

View file

@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,156]; BOSL_VERSION = [2,0,157];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions