Toggle navigation
GRILLIX
Documentation
Contents
Source Files
Modules
Procedures
Derived Types
Program
Source Files
Modules
Procedures
Derived Types
Program
integer_to_logical
Function
8 statements
Source File
type_conversion_m.f90
type_conversion_m
integer_to_logical
Contents
public pure function integer_to_logical(intin)
Returns true if input = 1, otherwise 0
Arguments
Type
Intent
Optional
Attributes
Name
integer,
intent(in)
::
intin
Integer to be converted to logical
Return Value
logical
Contents