sml Numeric Types


Syntax

  • Real numbers must begin with one or more digits followed by a period followed by one or more digits.
  • ~ is the operator to denote negative numbers
  • div is the operator for integer division.
  • / is the operator for real division.