{ "$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json", "apiVersion": 1, "version": { "full": "14.3.340.0", "major": 14, "minor": 3, "build": 340, "revision": 0 }, "dependencyFiles": [ { "name": "GaugeValueFormatter.js", "type": "JavaScript", "description": "" } ], "function": { "name": "GaugeValueFormatter", "namespace": "TcHmi.Functions.Beckhoff", "displayName": "GaugeValueFormatter", "visible": true, "description": "Return a formatted string for the value passed in.", "category": "Formatting", "returnValue": { "type": "tchmi:general#/definitions/String" }, "arguments": [ { "name": "value", "displayName": "Value", "type": "tchmi:general#/definitions/Number", "description": "The value to format.", "required": true, "bindable": true }, { "name": "maxDecimals", "displayName": "MaxDecimals", "type": "tchmi:general#/definitions/Number", "description": "How many decimal places the value should have.", "required": false, "bindable": true } ] }, "dataTypes": [] }