☜ | Numeric InterpretationAnnotations | ☞ |
Introduced in the 1977 ANSI M[UMPS] language standard.
This metalanguage symbol represents the numeric interpretation of an expression. In order to produce the numeric interpretation of an expression, first the expression is evaluated, and then reduced to its canonical numeric representation.
The reduction to a canonic numerical representation involves (colloquially) the removal of any redundant leading and trailing zeroes, the conversion of exponentionential notation to "mantissa only" notation, and the reduction of any leading plus (+) and minus (-) signs to at most one leading minus sign.
String value | Numeric interpretation |
---|---|
123.456 | 123.456 |
"5 apples" | 5 |
"+---+--+---+++-5.2300" | -5.23 |
123.45E6 | 123450000 |
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.
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 12-Sep-2014, 13:11:21.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)