CInt

iRezultato = CInt ( Espimo AS Variant ) AS Integer iRezultato = CInteger ( Esprimo AS Variant ) AS Integer
Konvertas esprimon en Integer.

Errors

Message Description
Type mismatch (6) Esprimo ne povas esti konvertata.

Examples

PRINT CInt("17")
17
PRINT CInt(100000)
100000
PRINT CInt(TRUE)
-1
PRINT CInt(3.6)
3
PRINT CInt(Now)
2484515

See also