Function %Int
Súvisiace stránky:
INT %Int( UNIVAL in arg )
arg | The parameter over which the conversion is performed. |
The function returns a value according to the following rules:
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
Súvisiace stránky:
Pridať komentár