[][src]Function numberkit::as_u64

pub fn as_u64<S>(text: S) -> Result<u64, ParseIntError> where
    S: AsRef<OsStr>, 

covert string to u64

Example

assert_eq!(1 as u64, numberkit::as_u64("1").unwrap());