If you are looking for a function ASP Classic (VBScript) to do what Int() does since Int is not found in ASP
You can use Fix()
Function Int(Nume)
Int = fix(Nume)
End Function
' do not use cint in ASP Classic
' instead use fix
'
' cint( 4 / 5 ) = 1
' fix( 4 / 5 ) = 0
'
' fix() is like int(), cint is rounding and will not help here
Int = fix(Nume)
End Function
' do not use cint in ASP Classic
' instead use fix
'
' cint( 4 / 5 ) = 1
' fix( 4 / 5 ) = 0
'
' fix() is like int(), cint is rounding and will not help here
Nume
Views 113
Downloads 51
CodeID
DB ID