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

From: shyouhei@...
Date: 2017-07-09 05:14:24 UTC
List: ruby-core #81973
Issue #13625 has been updated by shyouhei (Shyouhei Urabe).

Tracker changed from Bug to Feature

Let me mark this begin a feature request.

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

* 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>

In This Thread

Prev Next