Crates.io | mathemizer |
lib.rs | mathemizer |
version | 0.0.2 |
source | src |
created_at | 2022-05-21 20:39:19.760522 |
updated_at | 2022-05-23 04:05:39.537969 |
description | A math package |
homepage | |
repository | https://github.com/apinanyogaratnam/mathemizer |
max_upload_size | |
id | 590858 |
size | 2,331 |
A crate for calculating basic mathematical expressions.
use mathemizer::math::{
add,
divide,
multiply,
subtract,
};
fn main() {
println!("Hello, world!");
println!("{}", add(1, 2));
println!("{}", subtract(1, 2));
println!("{}", multiply(1, 2));
println!("{}", divide(1, 2));
}