Skip to content

fix: format close position max amount#121

Open
felipegr0ssi wants to merge 1 commit into
capofficial:mainfrom
felipegr0ssi:fix-close-position-max-format
Open

fix: format close position max amount#121
felipegr0ssi wants to merge 1 commit into
capofficial:mainfrom
felipegr0ssi:fix-close-position-max-format

Conversation

@felipegr0ssi
Copy link
Copy Markdown

Fixes #11.

Summary

  • Use the same formatted value shown in the Max row when populating the Size to Close input.
  • Avoid raw floating-point artifacts like 9.1138999999 being submitted after clicking Max.

Verification

  • npm run build
  • git diff --check

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

2 participants