fix: consolidate essence formatting into single shared function (Closes #80) #122
Reference in New Issue
Block a user
Delete Branch "feature/issue-80-essence-float-precision-formatting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
CharacterDataEditDialog.ktandResourcePanel.kt) into a single sharedformatEssence()function inlib/functions/Formatting.ktformatEssenceForEdit()used imprecise+ 0.5frounding that could produce different results than theroundToInt-based approach inResourcePanelCloses #80
Test plan
FormatEssenceTestpasses all 10 tests including floating-point precision edge cases