Regarding rounding function
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2022
12:16 PM
09-29-2022
12:16 PM
Regarding rounding function
I would like to add rounding function in my assertions
Example
[Match content of [xyz]] Comparison failed. Path: [$['xyz']]; Expected value: [5.461*]; Actual value: [5.46076854].
Expected value: [5.461*] is in ExcelQATestfile (Excel file cannot be modified)
Actual value: [5.46076854] is API output
So, I am looking for a solution that will make my readyapi assertion force Actal value to rounding and I get Expected = Actual
Please help me..
Labels:
- Labels:
-
ReadyAPI (SoapUI) Integration
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2022
06:29 AM
12-19-2022
06:29 AM
Syntax
ROUND(number, num_digits)
The ROUND function syntax has the following arguments for fillet trout fish:
number Required. The number that you want to round.
num_digits Required. The number of digits to which you want to round the number argument.
