RoundNumber
RoundNumber
Returns a number rounded to a specified number of decimal places based on a specified rounding mode.
Properties
RoundingMode
Type: System.MidpointRounding
Specifies how mathematical rounding methods should process a number that is midway between two numbers. For example, 'Even' rounds both 1.5 and 2.5 to 2; 'AwayFromZero' rounds 1.5 to 2 and 2.5 to 3. Defaults to 'AwayFromZero'.
InputNumber
Type: System.Object
Specifies a number that will be rounded. Can be specified as a literal or by binding to a parameter.
NumberofDecimalPlaces
Type: System.Object
Specifies a number indicating how many places to the right of the decimal are included when rounding. If passed in a decimal value, it will be converted to an integer and any decimal places truncated.
Output
Type: System.Object
Contains the rounded number as a Decimal value. This is a read-only output parameter.
Add Comment