Round

DVar Round(DVar inValue)

Description

Perform Excel like Rounding; Round the number to the nearest integer.
If the fractional component of the number is halfway between two integers, round up and for positive numbers and round down for negative numbers.

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inValue DVar the value to round


Return Type

DVar

Example

Round(Answer(QRef(2))) - will Round the Answer of Question 2

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

2 comments
  • Dear Support,

    How round down?
    For example, 24.7 is counted as 24

    Regards,
    Adi

    0
    Comment actions Permalink
  • Dear Support,

    I have used "round" method as usual, but it's rounding to up, I need round to down

    Regards,
    Adi

    0
    Comment actions Permalink

Please sign in to leave a comment.