skip to main content

Procedure Division : Common phrases and features for statements : ROUNDED phrase

ROUNDED phrase
If, after decimal point alignment, the number of places in the fractional part of the result of an arithmetic operation is greater than the number of places provided for the fraction of the resultant identifier, truncation is relative to the size provided for the resultant identifier.
When the low-order integer positions in a resultant identifier are represented by the symbol P in the picture character-string for that resultant identifier, rounding or truncation occurs relative to the rightmost integer position for which storage is allocated.
General format
General rules
1.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left