Text Functions - IBM Cognos User Manual

Version 10.1.1
Table of Contents

Advertisement

Returns the result: -100
round-zero (366.2162, 0)
Returns the result: 366
round-zero (366.2162, 1)
Returns the result: 366.2
round-zero (366.2162, -1)
Returns the result: 360
round-zero (366.2162, -2)
Returns the result: 300
Sqrt
Returns the square root of a positive number.
Syntax
sqrt (numeric_exp)
Examples
sqrt (2)
Returns the result: 1.4142135623731
sqrt (64)
Returns the result: 8

Text Functions

Text functions accept character input and can return both character and numeric
values.
Function
Char_Length
First-Word
Left
Lower
Position
Reverse
Right
String-to-Integer
Substring
Description
Returns the number of characters in a string.
Returns the first word in a string.
Returns a specific number of characters, starting at the left of the
string.
Converts uppercase characters to lowercase.
Returns the starting position of a string in a second string.
Reverses the characters in a string.
Returns a specific number of characters, starting at the right of the
string.
Converts a string to an integer.
Returns a substring from a string.
Appendix F. IBM Cognos Transformer Expression Editor
367

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents