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 4415 Downloads 1130

Classic ASP Math
ANmarAmdeen
655
Revisions

v1.0

Tags