Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

$$PI^XLFMTH(): PI

Reference Type: Supported, Category: Math Functions, ICR#: 10105

Description

The $$PI^XLFMTH extrinsic function returns pi.

Format

  $$PI^XLFMTH([n])

Input Parameters

n:

(optional) The precision for the function. Precision means the detail of the result, in terms of number of digits.

Output

returns:

Returns pi.

Example

>S X=$$PI^XLFMTH(12)

>W X
3.14159265359