Generic number to string converter.
Returns string representation of given 4-byte integer.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i4), | intent(in) | :: | i |
Input. |
||
character(len=:), | intent(out), | allocatable | :: | str |
Output. |
|
integer, | intent(out), | optional | :: | error |
Error code. |
Returns string representation of given 8-byte integer.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=i8), | intent(in) | :: | i |
Input. |
||
character(len=:), | intent(out), | allocatable | :: | str |
Output. |
|
integer, | intent(out), | optional | :: | error |
Error code. |
Returns string representation of given 4-byte real.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r4), | intent(in) | :: | f |
Input. |
||
character(len=:), | intent(out), | allocatable | :: | str |
Output. |
|
integer, | intent(out), | optional | :: | error |
Error code. |
Returns string representation of given 8-byte real.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in) | :: | f |
Input. |
||
character(len=:), | intent(out), | allocatable | :: | str |
Output. |
|
integer, | intent(out), | optional | :: | error |
Error code. |