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 |
pure function to_string_width_i32(value, width) result(string) !! Right aligned rendering of an `integer(int32)` value. integer(int32), intent(in) :: value integer(default_int), intent(in) :: width character(len=:), allocatable :: string string = pad_left(to_string(value), width) end function to_string_width_i32