parse_int

Macro parse_int 

Source
macro_rules! parse_int {
    ($value:expr) => { ... };
}
Expand description

Converts a string representation of a number to an equivalent integer number

ยงUsage

use we_cdk::*;

#[action]
fn _constructor() {
    let result: Integer = parse_int!("31337");
}