Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SafeParseUint ¶
SafeParseUint parses a string numeric value into a uint64.
For integer values, it accepts the formats defined in `math/big.Int.SetString()`.
For float values, it accepts the formats defined in `math/big.Float.Parse()`. The value is parsed with a 64 bits precision and is rounded down (`math/big.ToZero`).
Returns zero if it cannot parse the value (invalid/malformed, negative or overflows uint64).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.