Round, Int and Fix & CINT functions Round: Returns a number rounded to a specified number of decimal places The following example uses the Round function to round a number to two decimal places: Dim MyVar, pi pi = 3.14159 MyVar = Round(pi, 2) ‘ MyVar contains Int and Fix functions: Returns the integer portion [...]
Filed under: VB Script | Tagged: CINT, Fix, Int, Round | Leave a Comment »