Learn R Programming

gethr (version 0.1.0)

ether.toMwei: Conversion to Mwei.

Description

ether.toMei returns the value of the cryptocurrency in Mwei.

Usage

ether.toMwei(amount, type)

Arguments

amount

Integer - Amount of the cryptocurrency to convert from.

type

String - Unit of the cryptocurrency to convert from: wei, kwei, mwei, gwei, szabo, finney, ether, kether, mether, gether or tether.

Value

Integer - Value in Mwei.

See Also

Other ether functions: ether.toEther, ether.toFinney, ether.toGether, ether.toGwei, ether.toKether, ether.toKwei, ether.toMether, ether.toSzabo, ether.toTether, ether.toWei, gethr

Examples

Run this code
# NOT RUN {
ether.toMwei(50, 'ether')

# }

Run the code above in your browser using DataLab