Int Function

αžαŸ’αžšαž‘αž”αŸ‹β€‹αž—αžΆαž‚β€‹αž…αŸ†αž“αž½αž“β€‹αž‚αžαŸ‹β€‹αž“αŸƒβ€‹αž…αŸ†αž“αž½αž“β€‹αž˜αž½αž™Β αŸ”

Syntax:

Int (Number)

Return value:

αž‘αŸ’αžœαŸ

Parameters:

NumberΒ αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž‡αžΆαž›αŸαžβ€‹αžαŸ’αžšαžΉαž˜αžαŸ’αžšαžΌαžœΒ αŸ”

Error codes:

5 αž€αžΆαžšβ€‹αž αŸ…β€‹αž”αŸ‚αž”αž”αž‘β€‹αž˜αž·αž“β€‹αžαŸ’αžšαžΉαž˜αžαŸ’αžšαžΌαžœ

Example:


Sub ExampleInt
    αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹ Int(3.99) REM αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹ αŸ£β€‹
    αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹ Int(0) REM αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹ ០
    αž”αŸ„αŸ‡αž–αž»αž˜αŸ’αž–β€‹ Int(-3.14159) REM αžαŸ’αžšαž‘αž”αŸ‹β€‹αžαž˜αŸ’αž›αŸƒβ€‹ -ៀ
End Sub

Please support us!