Closed fpsdev closed 11 years ago
var r1 = Ratio(4,5); var r2 = Ratio(1,5); r1.subtract(r2).toString(); //outputs "3/5" correctly r2.toString(); //outputs "-1/5" instead of "1/5"
You're right. That's a bug. I will release a patch this weekend.
.Fixed in Version 0.4
var r1 = Ratio(4,5); var r2 = Ratio(1,5); r1.subtract(r2).toString(); //outputs "3/5" correctly r2.toString(); //outputs "-1/5" instead of "1/5"