CInt / CInteger

Integer = CInt ( Expression )

Integer = CInteger ( Expression )

Converts an expression into an integer.

Example :

PRINT CInt("17")
=> 17

PRINT CInt(100000)
=> 100000

PRINT CInt(TRUE)
=> -1
I don't understand this example. When I do it with Gambas 0.64a , then the result is: TRUE
rho = Gambas.ReinerHoffmann - 08 Jan 2004  

PRINT CInt(3.6)
=> 3

PRINT CInt(Now)
=> 2484515

Previous: Chr$ Next: CLOSE


Referenced by :