henrybuilt-js-library
Advanced tools
Comparing version 1.8.251 to 1.8.252
{ | ||
"name": "henrybuilt-js-library", | ||
"version": "1.8.251", | ||
"version": "1.8.252", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -83,3 +83,3 @@ var _ = require('lodash'); | ||
toFraction(number, {normalscript=false}={}) { | ||
toFraction(number, {normalscript = false, delimiter = ' '}={}) { | ||
var libString = require('@src/string'); | ||
@@ -112,3 +112,3 @@ var string = ''; | ||
//Add the fraction to the string | ||
if (number >= 1) string += ' '; | ||
if (number >= 1) string += delimiter; | ||
@@ -115,0 +115,0 @@ numerator = normalscript ? numerator.toFixed() : libString.toSuperscript(numerator.toFixed()); |
Sorry, the diff of this file is too big to display
843445