Issue #13625 has been updated by mrkn (Kenta Murata). Status changed from Open to Rejected BigDecimal is not a core class, so we cannot add such a syntax sugar. ---------------------------------------- Feature #13625: BigDecimal short form / shorthand https://bugs.ruby-lang.org/issues/13625#change-72557 * Author: AaronLasseigne (Aaron Lasseigne) * Status: Rejected * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * 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>