fromHex

Returns the given hexadecimal string as a number.

Arguments

  • string - The hexadecimal string to convert to a number.

Example

{
  "$template": {
    "$comment": "The field below will be 123",
    "test": "{{fromHex('7b')}}"
  }
}