Skip to content

Commit

Permalink
Merge pull request #273 from krtschmr/patch-1
Browse files Browse the repository at this point in the history
fixed docs for .scale
  • Loading branch information
hsbt committed Nov 7, 2023
2 parents 29f2e3b + 9a8bc9c commit eeccedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/bigdecimal/bigdecimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ BigDecimal_precision(VALUE self)
* Returns the number of decimal digits following the decimal digits in +self+.
*
* BigDecimal("0").scale # => 0
* BigDecimal("1").scale # => 1
* BigDecimal("1").scale # => 0
* BigDecimal("1.1").scale # => 1
* BigDecimal("3.1415").scale # => 4
* BigDecimal("-1e20").precision # => 0
Expand Down

0 comments on commit eeccedf

Please sign in to comment.