Skip to content

Avoid scientific notation before exponent 15#863

Merged
byroot merged 1 commit intoruby:masterfrom
byroot:larger-exponent
Sep 18, 2025
Merged

Avoid scientific notation before exponent 15#863
byroot merged 1 commit intoruby:masterfrom
byroot:larger-exponent

Conversation

@byroot
Copy link
Copy Markdown
Member

@byroot byroot commented Sep 18, 2025

Fix: #861

It's not incorrect to use scientific notation, but it tend to throw people off a bit, so it's best to keep it for very large numbers.

Fix: ruby#861

It's not incorrect to use scientific notation, but it tend
to throw people off a bit, so it's best to keep it for very large
numbers.
@byroot byroot merged commit 8fdc0ec into ruby:master Sep 18, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

100000000000.00 Float is dumped in a scientific notation as "1e+11"

1 participant