Skip to content

Fix: Improve size to close formatting#142

Open
douglasflysuper01-cell wants to merge 1 commit into
capofficial:mainfrom
douglasflysuper01-cell:fix/size-to-close-formatting
Open

Fix: Improve size to close formatting#142
douglasflysuper01-cell wants to merge 1 commit into
capofficial:mainfrom
douglasflysuper01-cell:fix/size-to-close-formatting

Conversation

@douglasflysuper01-cell
Copy link
Copy Markdown

This PR improves the formatForDisplay function to ensure size to close values are always properly formatted.

Changes:

  • Improved NaN and infinity checks
  • Simplified integer detection
  • Used Math.abs() for better negative number handling
  • Maintained backward compatibility

Fixes #11

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.

Size to close is not well formatted, sometimes

1 participant