From: "brightbits (Michael Baldry)" <noreply@...> Date: 2021-12-15T21:30:36+00:00 Subject: [ruby-core:106701] [Ruby master Feature#18410] Proposal to make inspect include underscores on numerics Issue #18410 has been reported by brightbits (Michael Baldry). ---------------------------------------- Feature #18410: Proposal to make inspect include underscores on numerics https://bugs.ruby-lang.org/issues/18410 * Author: brightbits (Michael Baldry) * Status: Open * Priority: Normal ---------------------------------------- The documentation for inspect reads "Returns a string containing a human-readable representation of obj." but for large numerical values, while 964218442 is human-readable, 964_218_442 is a lot more readable. The language allows the use of underscores to make numbers more readable, so why should inspect not also honour this? Happy to provide a patch if this would be an acceptable change. -- 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>