Minus sign - edit characters for numeric data , COBOL Programming

Minus sign - edit characters for numeric data:

The minus sign can appear either at the leftmost or rightmost location of the picture. If an item is negative, a minus sign will be inserted in the said place. On the other hand, if the item is positive, the space character will be inserted.

Examples:

823_Minus sign.png

         869_Minus sign1.png

 

Posted Date: 10/16/2012 4:06:37 AM | Location : United States







Related Discussions:- Minus sign - edit characters for numeric data , Assignment Help, Ask Question on Minus sign - edit characters for numeric data , Get Answer, Expert's Help, Minus sign - edit characters for numeric data Discussions

Write discussion on Minus sign - edit characters for numeric data
Your posts are moderated
Related Questions
PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

MULTI-DIMENSIONAL TABLES: The type of table which has been considered above is known as one-dimensional table. Whenever a table is such that each of its elements in turn is a

DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

RULES FOR SEARCH VERB: The rules apply for the SEARCH verb is as shown below: (1) The SEARCH verb can be applied only to a table that has the OCCURS clause and INDEXED phra

Display control verbs in Cobol

Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

Literals: The actual values can too appear in a program. These values are termed as literals. For illustration, the statement MOVE 0 TO TOTAL indicates that the value zero wil

Illustration of Multiply verb: (a)  MULTIPLY A BY B. In this situation the value of A & B will be multiplied and the product will be stored in B.  The decimal point locatio

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.