Function hellocalc::add

source ·
pub fn add(num1: f64, num2: f64) -> f64
Expand description

Adds one to the number given.

§Examples

let arg = 5;
let answer = hellocalc::add(5.0,6.0);

assert_eq!(11.0, answer);