This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Constants - math

  • ARITHMETIC_ERROR string {ballerina/math}Error
  • Represents the reason string for the math:Error.

  • PI float 3.141592653589793
  • Ratio of the circumference of a circle to its diameter.

  • E float 2.718281828459045
  • Base of the natural logarithms.