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

Creates a Decimal from literals.

Example

use scrypto::prelude::*;

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