Issue #13625 has been updated by mrkn (Kenta Murata).


Note that BigDecimal class is defined in a standard library, but it is not built-in.

----------------------------------------
Feature #13625: BigDecimal short form / shorthand
https://bugs.ruby-lang.org/issues/13625#change-66338

* Author: AaronLasseigne (Aaron Lasseigne)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Add a shorthand for creating a BigDecimal, similar to how 1.2r creates a Rational.

~~~ ruby
> 3.1d
=> #<BigDecimal:7fde9def71c0,'0.31E1',18(18)>
~~~




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>