☜ | $JUSTIFY1984 Version of ANSI Standard | ☞ |
$J[USTIFY]( expr1 , intexpr2 )
returns the value of expr1 right-justified in a field of intexpr2 spaces. Let m be $L(expr1) and n be the value of intexpr2. The following cases are defined:
$J[USTIFY]( numexpr1 , intexpr2 , intexpr3 )
returns an edited form of the number numexpr1. Let r be the value of numexpr1 after rounding to intexpr3 fraction digits, including possible trailing zeros. (If intexpr3 is the value 0, r contains no decimal point.) The value returned is $J(r, intexpr2). Note that if the value of numexpr1 is between –1 and 1, the result of $J does have a zero to the left of the decimal point. Negative values of intexpr3 are reserved for future extensions of the $JUSTIFY function.
See also the transition diagram for $Justify.
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 15-Nov-2023, 13:09:46.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)