hex.uint() function
hex.uint()
is a user-contributed function maintained by
the package author.
hex.uint()
converts a hexadecimal string to an unsigned integer.
Function type signature
(v: string) => uint
Parameters
v
(Required) String to convert.
Examples
Convert a hexadecimal string to an unsigned integer
import "contrib/bonitoo-io/hex"
hex.uint(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.