What is the syntax to cast to an integer?

<variable holding integer> = Int(<value that needs to be cast>)
'examples
MsgBox(Int("001")) 'produces 1
MsgBox(Int(12.1)) 'produces 12

 

 

Advertisements