public interface cast
Subroutine for casting between numeric and string data.
For a user reference, see cast.
Subroutines
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=r128),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=r64),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=r32),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=r128),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=r64),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=r32),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i64),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i32),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i16),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i8),
|
intent(in) |
|
|
:: |
x |
|
type(String),
|
intent(inout) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=r128),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=r64),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
complex(kind=r32),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=r128),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=r64),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
real(kind=r32),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
integer,
|
intent(in), |
optional |
|
:: |
decimals |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i64),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i32),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i16),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
integer(kind=i8),
|
intent(in) |
|
|
:: |
x |
|
character(len=:),
|
intent(inout), |
|
allocatable
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
complex(kind=r128),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
complex(kind=r64),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
complex(kind=r32),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
real(kind=r128),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
real(kind=r64),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
real(kind=r32),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i64),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i32),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i16),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(String),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i8),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
complex(kind=r128),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
complex(kind=r64),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
complex(kind=r32),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
im |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
real(kind=r128),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
real(kind=r64),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
real(kind=r32),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
locale |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i64),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i32),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i16),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
character(len=*),
|
intent(in) |
|
|
:: |
substring |
|
integer(kind=i8),
|
intent(out) |
|
|
:: |
into |
|
character(len=*),
|
intent(in), |
optional |
|
:: |
fmt |
|