Convert the human-readable of cryptocurrency number to minimum units, depending on their decimal fractions.
Rust implementation of [ccunits](https://github.com/dractw/ccunits), wasm-ready