Skip to content

Conversation

@caleb
Copy link

@caleb caleb commented Jan 14, 2020

BigDecimal 2 (included with Ruby 2.7 by default) removed the BigDecimal.new constructor in favor of the more consistent BigDecimal(value) constructor to make it consistent with other number types in ruby.

Both constructors are the same, so the new one will work on older ruby versions (and bigdecimal versions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant