hex.int() function
hex.int()
is a user-contributed function maintained by
the package author.
hex.int()
converts a hexadecimal string to an integer.
Function type signature
(v: string) => int
Parameters
v
(Required) String to convert.
Examples
Convert hexadecimal string to integer
import "contrib/bonitoo-io/hex"
hex.int(v: "4d2")// Returns 1234
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.