Learn R Programming

gethr (version 0.1.0)

ether.toEther: Conversion to Ether.

Description

ether.toEther returns the value of the cryptocurrency in Ether.

Usage

ether.toEther(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 Ether.

See Also

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

Examples

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

# }

Run the code above in your browser using DataLab