Provar

Round

This function rounds a number to a defined specification.

FormatRound(number,decimal places,rounding mode)

Examples:

{Round(3.999,2,DOWN)}– Round Down, e.g. 3.99

{Round(3.999,2,UP)}– Round Up, e.g. 4.0

{Round(3.999, 1, FLOOR)} Round FLOOR, e.g. 3.9

Practice


Want to learn more about using this function in Provar? You can use the following sample test case to get started. Simply right-click to download Round.testcase and then drag and drop the test case into the test folder within the Navigator panel of Provar.

Note: You will need to unzip/extract the compressed file before using it in Provar.

Review Provar on G2
Documentation library

Other available resources

Looking for something different?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top