LarryBattle / Ratio.js

Rational numbers for Javascript
http://larrybattle.github.com/Ratio.js/
MIT License
113 stars 9 forks source link

Parse should split on divSign #1

Closed LarryBattle closed 12 years ago

LarryBattle commented 12 years ago

Parse should split on divSign

LarryBattle commented 12 years ago

Not needed but here's a function for it.

Ratio.parseString = function( str, delimiter ){ return Ratio.parse.call( this, (str||"").split( delimiter.toString() ) ); };