INT2 — Convert to 16-bit integer type#
-
INT2(A)#
Convert to a
KIND=2
integer type. This is equivalent to the standardINT
intrinsic with an optional argument ofKIND=2
, and is only included for backwards compatibility.- Parameters:
A – Shall be of type
INTEGER
,REAL
, orCOMPLEX
.- Returns:
The return value is a
INTEGER(2)
variable.
- Standard:
GNU extension
- Class:
Elemental function
- Syntax:
RESULT = INT2(A)
- See also: