number

Converts a string to a number.

Arguments

  • string - The string to convert.

Example

{
  "$template": {
    "$comment": "The field below will be 1.0",
    "test": "{{=number('1.0')}}"
  }
}