Int Function

Returns the integer portion of a number.

தொடரமைப்பு:

Int (Number)

திரும்பும் மதிப்பு:

Double

அளவுருக்கள்:

Number: Any valid numeric expression.

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:


Sub ExampleInt
    Print Int(3.99) ' returns the value 3
    Print Int(0) ' returns the value 0
    Print Int(-3.14159) ' returns the value -4
End Sub

Please support us!