Multiple choice technology

In Movenum rule masking M is for money, N is to leave the output blank if the number is zero or negative, what is NM mask used for?

  1. Blank when there are alphabets

  2. Suppress leading zero

  3. Leaves the field blank

  4. Adds minus sign

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In COBOL MOVE rule masking, M formats numbers as money (with decimal point), and N suppresses output if the value is zero or negative. The NM mask combines these: it formats as money AND adds a minus sign for negative values. So NM would display '-123.45' for a negative value, but suppresses output entirely for zero or negative values if just N is used.