string_to_int Interface

public interface string_to_int

Converts a string to a 32-bit integer.


Contents


Module Procedures

private pure function string_to_int_char(x) result(rst)

Converts a string to a 32-bit integer.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: x

The string to convert.

Return Value integer(kind=int32)

The resulting integer.

private pure function string_to_int_string(x) result(rst)

Converts a string to a 32-bit integer.

Arguments

Type IntentOptional Attributes Name
type(string), intent(in) :: x

The string to convert.

Return Value integer(kind=int32)

The resulting integer.