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