diff options
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r-- | ext/bigdecimal/lib/bigdecimal/util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb index 474266476f..a0235460bd 100644 --- a/ext/bigdecimal/lib/bigdecimal/util.rb +++ b/ext/bigdecimal/lib/bigdecimal/util.rb @@ -35,7 +35,7 @@ class BigDecimal < Numeric self.to_s else i = self.to_i.to_s - s,f,y,z = self.frac.split + _,f,_,z = self.frac.split i + "." + ("0"*(-z)) + f end end |