Render an integer right aligned in a field of the requested width. Right aligned integer rendering, blank padded on the left.
The value is never truncated and never replaced by asterisks: if it
does not fit in width characters the field is widened and the full
number is returned, so the result length is max(width, needed). A
width of zero or less simply returns the unpadded number.
Right aligned rendering of an integer(int32) value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | value | |||
| integer(kind=default_int), | intent(in) | :: | width |
Right aligned rendering of an integer(int64) value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int64), | intent(in) | :: | value | |||
| integer(kind=default_int), | intent(in) | :: | width |