Skip to content

Number (type)

Paul Lipkowski edited this page Aug 22, 2022 · 2 revisions

Number is an entity type used in PapajScript. It stores numerical values.

History

Number is the first entity type introduced in PS. Its debut was on April 26, 2018 along with release of the 0.4.0 version, along introduction of entities, although numbers de facto existed since the birth of RPN Calculator.

Features

  • In most cases the PS functions tell no difference between integers and non-integers – Number is a real number overall.
  • Since May 14, 2020, all advanced mathematical functions have been wrapped into the Math package.
  • Since August 22, 2022, all basic mathematical functions have been wrapped into the Number package.

Examples

  • 5
  • 2
  • -10
  • 20.5
Clone this wiki locally