INT _i
TIME _time = %StrToTime("17:03:16 18-03-2005")
TEXT _text = "Hello world"
_i := %Int(1.98) ; _i = 2
_i := %Int(-0.4) ; _i = 0
_i := %Int(@TRUE) ; _i = 1
_i := %Int(@FALSE) ; _i = 0
_i := %Int(_time) ; _i = Invalid
_i := %Int(_text) ; _i = Invalid
Pridať komentár