Web3S_Demo > Web 3S Ethereum Function Library > EthValueToDec

EthValueToDec

Converts uint256 to String in decimal notation.

Inputs

Value
Uint 256 Structure (by ref)

The value to be converted.

To Unit
EWeb3S_EthereumUnit Enum

Describes in what unit the string should be interpreted as.

Min Int Digits
Integer

Minimum number of integral digits for the returned value. Digits will be zero-padded if value uses less digits than the minimum specified. (Default: 1)

Min Frac Digits
Integer

Minimum number of fractional digits for the returned value. Digits will be zero-padded if value uses less digits than the minimum specified. (Default: 0)

Max Frac Digits
Integer

Maximum number of fractional digits for the returned value. Truncates fractional part to specified number of digits. (Default: 30)

Outputs

Return Value
String

Value in decimal notation.