Crate numberkit

Source

Functionsยง

as_f32
covert string to f32
as_f64
covert string to f64
as_f32d
covert string to f32 with default, will check covert error, if error use default value.
as_f64d
covert string to f64 with default, will check covert error, if error use default value.
as_i8
covert string to i8
as_i8d
covert string to i8 with default, will check covert error, if error use default value.
as_i16
covert string to i16
as_i32
covert string to i32
as_i64
covert string to i64
as_i16d
covert string to i16 with default, will check covert error, if error use default value.
as_i32d
covert string to i32 with default, will check covert error, if error use default value.
as_i64d
covert string to i64 with default, will check covert error, if error use default value.
as_i128
covert string to i128
as_i128d
covert string to i128 with default, will check covert error, if error use default value.
as_isize
covert string to isize
as_isized
covert string to iseize with default, will check covert error, if error use default value.
as_u8
covert string to u8
as_u8d
covert string to u8 with default, will check covert error, if error use default value.
as_u16
covert string to u16
as_u32
covert string to u32
as_u64
covert string to u64
as_u16d
covert string to u16 with default, will check covert error, if error use default value.
as_u32d
covert string to u32 with default, will check covert error, if error use default value.
as_u64d
covert string to u64 with default, will check covert error, if error use default value.
as_u128
covert string to u128
as_u128d
covert string to u128 with default, will check covert error, if error use default value.
as_usize
covert string to usize
as_usized
covert string to usize with default, will check covert error, if error use default value.
is_digit
Check string is digit
is_idigit
Check string is isize digit
is_number
Check string is a number
is_udigit
Check string is usize digit