Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Understanding Data Types and Field Properties
  3. Designing Processes
  4. Using and Displaying Data
  5. Designing Guides
  6. Designing Process Objects
  7. Designing Service Connectors
  8. Using App Connections
  9. System Services, Listeners and Connectors
  10. Designing Human Tasks

Design

Design

pi

pi

The pi function in XQuery returns the mathematical constant π (pi), which is approximately 3.141592653589793.

Syntax

math:pi()

Return Value

Returns the constant π as a double precision floating-point number (
xs:double
).

Examples

The following table shows the sample value and its return value:
SAMPLE FUNCTION
OUTPUT
math:pi()
3.141592653589793

Additional information

  • This function does not accept any parameters.
  • The return type is always
    xs:double
    .
  • It is useful for mathematical calculations requiring the pi constant.

0 COMMENTS

We’d like to hear from you!