diff options
-rw-r--r-- | yjit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -435,7 +435,7 @@ module RubyVM::YJIT # Format large numbers with comma separators for readability def format_number(pad, number) integer, decimal = number.to_s.split(".") - d_groups = integer.chars.to_a.reverse.each_slice(3) with_commas = d_groups.map(&:join).join(',').reverse formatted = [with_commas, decimal].compact.join(".") formatted.rjust(pad, ' ') |