Actions
Feature #13625
closedBigDecimal short form / shorthand
Description
Add a shorthand for creating a BigDecimal, similar to how 1.2r creates a Rational.
> 3.1d
=> #<BigDecimal:7fde9def71c0,'0.31E1',18(18)>
Updated by shyouhei (Shyouhei Urabe) over 7 years ago
- Tracker changed from Bug to Feature
Let me mark this begin a feature request.
Updated by mrkn (Kenta Murata) over 7 years ago
Note that BigDecimal class is defined in a standard library, but it is not built-in.
Updated by mrkn (Kenta Murata) almost 7 years ago
- Assignee set to matz (Yukihiro Matsumoto)
- Target version set to 2.6
Updated by mrkn (Kenta Murata) over 6 years ago
- Status changed from Open to Rejected
BigDecimal is not a core class, so we cannot add such a syntax sugar.
Actions
Like0
Like0Like0Like0Like0Like0