formatnumber asp classic code example Example 1: vbs format to int CInt("3") // 3 Example 2: vbs format to number CDbl("3.456") // 3.456