Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CInt'

/beatrix-potter-50p-coins/coin.asp, line 22