Skip to content

Commit eeccedf

Browse files
authored
Merge pull request #273 from krtschmr/patch-1
fixed docs for .scale
2 parents 29f2e3b + 9a8bc9c commit eeccedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bigdecimal/bigdecimal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ BigDecimal_precision(VALUE self)
657657
* Returns the number of decimal digits following the decimal digits in +self+.
658658
*
659659
* BigDecimal("0").scale # => 0
660-
* BigDecimal("1").scale # => 1
660+
* BigDecimal("1").scale # => 0
661661
* BigDecimal("1.1").scale # => 1
662662
* BigDecimal("3.1415").scale # => 4
663663
* BigDecimal("-1e20").precision # => 0

0 commit comments

Comments
 (0)