We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
8ecb20c
過去零值是 Down(截斷),幾乎不是任何使用者期待的預設行為;改為 HalfUp 後,忘記設定 Mode 的 Context{} 會做最直覺的「四捨五入到整數」。所有現有程式碼用具名常數,僅零值語意改變。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
9625452
Unnecessary 模式在需要捨入時 panic(ErrRoundingNecessary),行為對齊 Java RoundingMode.UNNECESSARY。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
52f7416
Full Changelog: v0.1.0...v0.1.1
953e5c3
統一使用 RoundingMode 取代 Round 模式,更新相關範例與測試