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

Constants - lang.float

  • PI float 3.141592653589793
  • The number π

  • E float 2.718281828459045
  • Euler's number

  • NaN float NaN
  • IEEE not-a-number value

  • Infinity float Infinity
  • IEEE positive infinity