You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
irb(main):002:0> BigDecimal(5.1)
(irb):2:in `BigDecimal': can't omit precision for a Float. (ArgumentError)
from (irb):2:in `<main>'
from /home/mrkn/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/irb-1.3.8.pre.9/exe/irb:11:in `<top (required)>'
from /home/mrkn/.rbenv/versions/3.0/bin/irb:23:in `load'
from /home/mrkn/.rbenv/versions/3.0/bin/irb:23:in `<main>'
👍 Why require precision? Can't it just work like it did in previous ruby versions? This issue is 3 years old - please revert the BigDecimal float behavior to how it worked in previous ruby versions.
Uh oh!
There was an error while loading. Please reload this page.
This should works like below.
This is necessary to resolve #212.The text was updated successfully, but these errors were encountered: