Floor

Rounding a number to nearest integer closest to zero.
Equivalent to Excel function Floor


Public

Tested

My Own Work
<%
Function Floor(num)
num = cstr(num)
arrNumber = split(num, ".")
num = arrNumber(0)
Floor = cint(num)
End function
%>

num

Views 5133 Downloads 1304

Classic ASP Math
ANmarAmdeen
747
Attachments
Revisions

v1.0

Tags