Allow larger amounts in normal notation.

This commit is contained in:
JoelKatz
2012-12-13 15:56:39 -08:00
parent 7810cffd18
commit e65c390423

View File

@@ -1127,7 +1127,7 @@ Amount.prototype.to_text = function (allow_nan) {
{
return "0";
}
else if (this._offset < -25 || this._offset > -5)
else if (this._offset < -25 || this._offset > -4)
{
// Use e notation.
// XXX Clamp output.