Skip to content

Convert

convert

Description

Convert the provided value in provide unit

Attributes

  • title
  • $capture.unit: mass | length
  • $capture.precision: Provide precision in number
  • $capture.singleEntry: It's only applicable when unit is length,true | false
{
  "type": "string",
  "$capture": {
    "unit": "mass",
    "precision": 2,
    "singleEntry": true
  },
  "$display": {
    "as": "convert"
  },
  "value": "test convert",
  "title": "convert"
}