content/flux/v0/stdlib/contrib/bonitoo-io/hex/int.md
hex.int() converts a hexadecimal string to an integer.
(v: string) => int
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) String to convert.
import "contrib/bonitoo-io/hex"
hex.int(v: "4d2")// Returns 1234