[][src]Function ethers_core::utils::format_ether

pub fn format_ether<T: Into<U256>>(amount: T) -> U256

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

Divides the input by 1e18