Function std::num::from_f64Experimental [-]  [+] [src]

pub fn from_f64<A: FromPrimitive>(n: f64) -> Option<A>

A utility function that just calls FromPrimitive::from_f64.