hex()
Data / ConversionDescription
Converts an integer to a hexadecimal string.
Syntax
std::string hex(int v)
std::string hex(int v, int digits)
Parameters
| Name | Type | Description |
|---|---|---|
| v | int | value to convert |
| digits | int | number of digits (optional) |
Returns
std::stringRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...