devarith

Crates.iodevarith
lib.rsdevarith
version0.1.2
sourcesrc
created_at2023-10-25 09:33:21.998357
updated_at2023-10-25 09:51:49.977689
descriptionA simple math crate for basic arithmetic operations.
homepage
repositoryhttps://github.com/thedevsaddam/devarith
max_upload_size
id1013193
size1,906
Saddam H (thedevsaddam)

documentation

README

Usages

use devarith::divide;
fn main() {
    let a = 10.0;
    let b = 0.0;

    match divide(a, b) {
        Ok(result) => println!("{} / {} = {}", a, b, result),
        Err(e) => println!("Error: {}", e),
    }
}
Commit count: 0

cargo fmt