COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

argument
is a numeric argument greater than zero.
The returned value is approximately the logarithm to the base 10 of the value of argument.
Example 197 LOG10 Function
Code:
DATA DIVISION.
WORKING-STORAGE SECTION.
01 A PICTURE S9V99.
PROCEDURE DIVISION.
MOVE FUNCTION LOG10 (1) TO A.
DISPLAY A.
MOVE FUNCTION LOG10 (10) TO A.
DISPLAY A.
MOVE FUNCTION LOG10 (100) TO A.
DISPLAY A.
MOVE FUNCTION LOG10 (1000) TO A.
DISPLAY A.
MOVE FUNCTION LOG10 (10000) TO A.
DISPLAY A.
Output:
0.00
1.00
2.00
3.00
4.00
LOWER-CASE Function
LOWER-CASE, an alphanumeric function, returns a character-string that is the same as its argument,
except that each uppercase letter is replaced by the corresponding lowercase letter.
string
is an alphabetic or alphanumeric string at least one character in length.
The returned value is the same as the value of string, except that each uppercase letter is replaced
by the corresponding lowercase letter. If the value of string contains no uppercase letters, or if
an ALPHABET clause specifies a collating sequence that contains no lowercase letters, the returned
value is the same as the value of string.
672 Intrinsic Functions