macro_rules! pdec {
    ($x:literal) => { ... };
    ($base:literal, $shift:literal) => { ... };
}
Expand description

Creates a PreciseDecimal from literals.

Example

use scrypto::prelude::*;

let a = pdec!(1);
let b = pdec!("1.1");