Function ethers_core::utils::format_ether [−][src]
pub fn format_ether<T: Into<U256>>(amount: T) -> U256
Expand description
Format the output for the user which prefer to see values in ether (instead of wei)
Divides the input by 1e18