Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

numlit

1977 Version of ANSI Standard

numlit

See numlit for formal definition.

  1. Period (".") Right Arrow A.
  2. Remove leading zeros from Result.
    If Result > 0, Result Right Arrow A.
  3. Otherwise, zero ("0") Right Arrow A.
  4. Concatenate (A, ".") Right Arrow A.
  5. Remove trailing zeros from Result. Concatenate (A, Result) Right Arrow A.
  6. Concatenate (A, "E") Right Arrow A.
  7. Concatenate (A, "-") Right Arrow A.
  8. Remove leading zeros from Result.
    Concatenate (A, Result) Right Arrow A.
  9. Convert A to a numeric data value, using the algorithm defined in Section 3.2.4.2 of MDC/28.
    Place A Right Arrow Result.
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

This page most recently updated on 16-Nov-2023, 11:39:43.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)