# CLI calculation tools > `rfcalc` stands for "R4 Calculations". R4 is my self representaion =_= ## Installation 1. Install Rust and Cargo will be installed, too 2. Run `cargo install rfcalc` ## Usage E.g. - `rfcalc factorial `: Calculate the factorial of a number (max: 20) - `rfcalc hw `: Calculate the Hamming weight of a binary number - `rfcalc c `: Calculate the combination of `N` choose `K` - `rfcalc fc `: Convert degree from Fahrenheit to Celsius ### `rfcalc bytes ` Quickly devide bytes > only support units of lower case now E.g. ```bash rfcalc bytes "4mb/4kb" 1024 kb ``` ## Testing ```bash cargo run -- ```