Floor

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

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

num

Views 3200 Downloads 856

'floor'

ANmarAmdeen
551
Math Classic ASP
Revisions

v1.0

Tags