toHex
Returns the given number as a hexadecimal string.
Arguments
number
- The number to convert to a hexadecimal string. digits
- (optional) The number of digits to pad the hexadecimal string with.
Example
{
"$template": {
"$comment": "The field below will be 007b",
"test": "{{toHex(123, 4)}}"
}
}