IBM Cognos User Manual page 379

Version 10.1.1
Table of Contents

Advertisement

Returns the result: 366
round-down (366.2162, 1)
Returns the result: 366.2
round-down (366.2162, -1)
Returns the result: 360
round-down (366.2162, -2)
Returns the result: 300
Round-Near
Returns a number rounded to the nearest value.
The integer_exp value determines the position that is rounded. A positive
integer_exp value acts on the digits to the right of the decimal point. A negative
integer_exp value acts on the digits to the left of the decimal point. An integer_exp
value of zero rounds the number and removes the decimal places.
Syntax
round-near (numeric_exp, integer_exp)
Examples
round-near (-113.6667, 0)
Returns the result: -114
round-near (-113.6667, 1)
Returns the result: -113.7
round-near (-113.6667, -1)
Returns the result: -110
round-near (-113.6667, -2)
Returns the result: -100
round-near (366.2162, 0)
Returns the result: 366
round-near (366.2162, 1)
Returns the result: 366.2
round-near (366.2162, -1)
Returns the result: 370
round-near (366.2162, -2)
Returns the result: 400
Round-Up
Returns a number rounded up.
The An integer_exp value determines the position that is rounded. A positive An
integer_exp value acts on the digits to the right of the decimal point. A negative
365
Appendix F. IBM Cognos Transformer Expression Editor

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents