to_string Interface

public interface to_string

Module Procedures

private pure function to_string_i1(val) result(string)

Represent an integer as character sequence.

Arguments

Type IntentOptional Attributes Name
integer(kind=ik), intent(in) :: val

Integer value to create string from

Return Value character(len=:), allocatable

String representation of integer

private pure function to_string_i2(val) result(string)

Represent an integer as character sequence.

Arguments

Type IntentOptional Attributes Name
integer(kind=ik), intent(in) :: val

Integer value to create string from

Return Value character(len=:), allocatable

String representation of integer

private pure function to_string_i4(val) result(string)

Represent an integer as character sequence.

Arguments

Type IntentOptional Attributes Name
integer(kind=ik), intent(in) :: val

Integer value to create string from

Return Value character(len=:), allocatable

String representation of integer

private pure function to_string_i8(val) result(string)

Represent an integer as character sequence.

Arguments

Type IntentOptional Attributes Name
integer(kind=ik), intent(in) :: val

Integer value to create string from

Return Value character(len=:), allocatable

String representation of integer

private pure function to_string_r8(val) result(string)

Represent an real as character sequence.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: val

Real value to create string from

Return Value character(len=:), allocatable

String representation of integer