No description
Find a file
Marcel Enguehard 0cf311bdf4 Store the annual nominal rate as a fraction, not a percentage
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>
2026-08-23 15:17:15 +02:00
.claude/commands Add /teach-me command encoding the feature workflow 2026-08-03 19:27:21 +02:00
crates Store the annual nominal rate as a fraction, not a percentage 2026-08-23 15:17:15 +02:00
scripts Add reference amortisation generator for known-answer tests 2026-08-18 18:07:23 +02:00
.gitignore Add reference amortisation generator for known-answer tests 2026-08-18 18:07:23 +02:00
Cargo.lock Add LoanOffer with validating constructor 2026-07-30 15:09:49 +02:00
Cargo.toml Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00
CLAUDE.md Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00
rust-toolchain.toml Set up cargo workspace backbone 2026-07-29 20:30:55 +02:00