Closed LarryBattle closed 11 years ago
Test this. Ratio.VERSION == "0.2.7"
console.log( Ratio.parse( "1 1/-2" ).toString() === "1/2" ) console.log( Ratio.parse( "1 1/2" ).toString() === "3/2" )
console.log( Ratio.parse( "1 1/-2" ).toString() === "1/2" )
console.log( Ratio.parse( "1 1/2" ).toString() === "3/2" )
Fixed with version 0.2.9
Test this. Ratio.VERSION == "0.2.7"
console.log( Ratio.parse( "1 1/-2" ).toString() === "1/2" )
console.log( Ratio.parse( "1 1/2" ).toString() === "3/2" )