pub type SubCoin = Rational;
pub struct SubCoin(/* private fields */);
Converts base 10 floats to SubCoin. This is the format used by blockfrost for ex units Warning: If the passed in float was not meant to be base 10 this might result in a slightly inaccurate fraction.