[ruby-core:84423] [Ruby trunk Feature#13625] BigDecimal short form / shorthand

From: muraken@...
Date: 2017-12-23 23:20:58 UTC
List: ruby-core #84423
Issue #13625 has been updated by mrkn (Kenta Murata).

Assignee set to matz (Yukihiro Matsumoto)
Target version set to next minor

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

* Author: AaronLasseigne (Aaron Lasseigne)
* Status: Open
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: next minor
----------------------------------------
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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next