Example:

1_000

The underscore may be used to enhance readability for humans. It may place an underscore anywhere in the number.

Float also allow to user the underscores:

1_000.4   # => 1000.4

📌 Ruby Docs

📌 StackOverflow