Function ethers::utils::format_ether[][src]

pub fn format_ether<T>(amount: T) -> U256 where
    T: Into<U256>, 
Expand description

Format the output for the user which prefer to see values in ether (instead of wei)

Divides the input by 1e18