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

numlit

M[UMPS] by Example

Note that the "E" in "exponential" notation must be written in upper-case:

Reference   Value
+"123e2"   123
+"123E2"   12300

Note that, if a numlit contains an exponential part, the capital E and the number are required, but the sign is optional:

Reference   Result
Set x(0068010E+1)=1   x(680100)=1
Set x("0068010E"+1)=2   x(68011)=2
Set x(0068010E)=3   Syntax error

The second example above does not cause a syntax error, because the plus sign causes the addition of two values, while coercing the left-hand value to a numeric value, the interpretation stops at the letter "E".

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.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 29-Nov-2011, 22:19:13.

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