Int Function

숫자의 μ •μˆ˜ 뢀뢄을 κ΅¬ν•©λ‹ˆλ‹€.

Syntax:

Int (Number)

Return value:

Double

Parameters:

Number: μž„μ˜μ˜ μœ νš¨ν•œ 숫자 μ‹μž…λ‹ˆλ‹€.

Error codes:

5 잘λͺ»λœ ν”„λ‘œμ‹œμ € ν˜ΈμΆœμž…λ‹ˆλ‹€.

Example:


Sub ExampleInt
    Print Int(3.99) REM κ²°κ³Ό κ°’μœΌλ‘œ 3을 λ°˜ν™˜
    Print Int(0) REM κ²°κ³Ό κ°’μœΌλ‘œ 0을 λ°˜ν™˜
    Print Int(-3.14159) REM κ²°κ³Ό κ°’μœΌλ‘œ -4λ₯Ό λ°˜ν™˜
End Sub