Traitsยง
- Decimal
Cast ๐ - A utility trait that provides checked conversions between
decimal types inspired by
NumCast
Functionsยง
- cast_
decimal_ ๐to_ decimal - cast_
decimal_ ๐to_ decimal_ error - cast_
decimal_ ๐to_ decimal_ same_ type - cast_
decimal_ ๐to_ float - cast_
decimal_ ๐to_ integer - cast_
floating_ ๐point_ to_ decimal - cast_
string_ ๐to_ decimal - Cast Utf8 to decimal
- convert_
to_ ๐bigger_ or_ equal_ scale_ decimal - convert_
to_ ๐smaller_ scale_ decimal - generic_
string_ ๐to_ decimal_ cast - parse_
string_ ๐to_ decimal_ native - Parses given string to specified decimal native (i128/i256) based on given
scale. Returns an
Err
if it cannot parse given string. - string_
to_ ๐decimal_ cast - string_
view_ ๐to_ decimal_ cast