Issue #13625 has been reported by AaronLasseigne (Aaron Lasseigne).

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

* Author: AaronLasseigne (Aaron Lasseigne)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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>