Convert number (real and integer) to string (number to string type casting).
Convert real to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fm |
Format different from the standard for the kind. |
||
real(kind=R8P), | intent(in) | :: | n |
Real to be converted. |
Returned string containing input number.
Convert real to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=R8P), | intent(in) | :: | n |
Real to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
logical, | intent(in), | optional | :: | compact |
Flag for compacting string encoding. |
Returned string containing input number.
Convert real to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fm |
Format different from the standard for the kind. |
||
real(kind=R4P), | intent(in) | :: | n |
Real to be converted. |
Returned string containing input number.
Convert real to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=R4P), | intent(in) | :: | n |
Real to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
logical, | intent(in), | optional | :: | compact |
Flag for compacting string encoding. |
Returned string containing input number.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fm |
Format different from the standard for the kind. |
||
integer(kind=I8P), | intent(in) | :: | n |
Integer to be converted. |
Returned string containing input number.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I8P), | intent(in) | :: | n |
Integer to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
Returned string containing input number plus padding zeros.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fm |
Format different from the standard for the kind. |
||
integer(kind=I4P), | intent(in) | :: | n |
Integer to be converted. |
Returned string containing input number.
Converting integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I4P), | intent(in) | :: | n |
Integer to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
Returned string containing input number plus padding zeros.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fm |
Format different from the standard for the kind. |
||
integer(kind=I2P), | intent(in) | :: | n |
Integer to be converted. |
Returned string containing input number.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I2P), | intent(in) | :: | n |
Integer to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
Returned string containing input number plus padding zeros.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | fm |
Format different from the standard for the kind. |
||
integer(kind=I1P), | intent(in) | :: | n |
Integer to be converted. |
Returned string containing input number.
Convert integer to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I1P), | intent(in) | :: | n |
Integer to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
Returned string containing input number plus padding zeros.
Convert logical to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in) | :: | n |
Logical to be converted. |
Returned string containing input number plus padding zeros.
Convert real array to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=R8P), | intent(in) | :: | n(:) |
Real array to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
character(len=1), | intent(in), | optional | :: | separator |
Eventual separator of array values. |
|
character(len=*), | intent(in), | optional | :: | delimiters(1:2) |
Eventual delimiters of array values. |
|
logical, | intent(in), | optional | :: | compact |
Flag for compacting string encoding. |
Returned string containing input number.
Convert real array to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=R4P), | intent(in) | :: | n(:) |
Real array to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
character(len=1), | intent(in), | optional | :: | separator |
Eventual separator of array values. |
|
character(len=*), | intent(in), | optional | :: | delimiters(1:2) |
Eventual delimiters of array values. |
|
logical, | intent(in), | optional | :: | compact |
Flag for compacting string encoding. |
Returned string containing input number.
Convert integer array to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I8P), | intent(in) | :: | n(:) |
Integer array to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
character(len=1), | intent(in), | optional | :: | separator |
Eventual separator of array values. |
|
character(len=*), | intent(in), | optional | :: | delimiters(1:2) |
Eventual delimiters of array values. |
Returned string containing input number.
Convert integer array to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I4P), | intent(in) | :: | n(:) |
Integer array to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
character(len=1), | intent(in), | optional | :: | separator |
Eventual separator of array values. |
|
character(len=*), | intent(in), | optional | :: | delimiters(1:2) |
Eventual delimiters of array values. |
Returned string containing input number.
Convert integer array to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I2P), | intent(in) | :: | n(:) |
Integer array to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
character(len=1), | intent(in), | optional | :: | separator |
Eventual separator of array values. |
|
character(len=*), | intent(in), | optional | :: | delimiters(1:2) |
Eventual delimiters of array values. |
Returned string containing input number.
Convert integer array to string.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=I1P), | intent(in) | :: | n(:) |
Integer array to be converted. |
||
logical, | intent(in), | optional | :: | no_sign |
Flag for leaving out the sign. |
|
character(len=1), | intent(in), | optional | :: | separator |
Eventual separator of array values. |
|
character(len=*), | intent(in), | optional | :: | delimiters(1:2) |
Eventual delimiters of array values. |
Returned string containing input number.