No description
The field was called annual_rate_in_percent but nothing multiplied it by 100, so a 3,41 % loan would have been stored as 3.41 and read as 341 %. Rename it to annual_nominal_rate, which is what it holds, and add an explicit annual_nominal_rate_in_percent() accessor for callers that want the display form. Drop the trailing % from the error message, which was making the same claim. The nominal qualifier is there because TAEG will join this struct later and the two must never be confused. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude/commands | ||
| crates | ||
| scripts | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| rust-toolchain.toml | ||