amortize-rs 0.1.0

A loan amortization calculator library
Documentation
  • Coverage
  • 0%
    0 out of 39 items documented0 out of 10 items with examples
  • Size
  • Source code size: 20.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ahmed-deftoner/amortize-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ahmed-deftoner

Amortization Calculator

A Rust library for calculating loan amortization schedules.

Features

  • Calculate monthly payment amounts
  • Generate complete amortization schedules
  • Track principal and interest payments

Usage

use amortization_calculator::Amortization;
use chrono::NaiveDate;

fn main() {
    let loan = Amortization::new(
        280350.0, // Principal
        3.5,      // APR
        60,       // Periods (5 years)
        Some(NaiveDate::from_ymd_opt(2024, 1, 1).unwrap())
    );

    println!("{}", loan);
}