Round values in .js script - Vuforia Studio
Hello, everybody,
I'm stuck on what is probably a simple function.
I want to round an internal parameter to two decimal places in Vuforia Studio, but I don't know how.
The option to assign a filter directly to the widget is not an option for me, because I assign the widget text in a function in the .js file.
Here is a small excerpt:

The following parameters should be rounded to two decimal places:
- $scope.app.params.EMpro_W1
- $scope.app.params.EMpro_W2
- $scope.app.params.EMpro_W3
The internal parameters are assigned a value from the ThingWorx Composer with the data type #Number.
-----
If there is no possibility here, do you know how I can round a value in the ThingWorx Composer with a subscription ?
I would be very pleased about any help!
Thanks a lot!

