Article Overview:
This article will cover how you can achieve the following:
How to trim the numbers, to a specific decimal point.
Problem Statement:
While working on the Virtuoso platform, users may need to trim numbers to specific decimal point.
Solution:
You can use a JavaScript expression to trim the number and use it, for assertions.
Below is the example of, adding two numbers, and then trimming it to 2 digit place.
Comments
0 comments
Please sign in to leave a comment.