Here try this

VB Code:
  1. Public Shared Function picastopoints(ByVal strTemp As String) As Integer
  2.         Dim strWhole() As String, intNum1 As Integer, intRemainder As Integer, intConvert As Integer
  3.         strWhole = Split(strTemp, "p")
  4.         intNum1 = CInt(strWhole(0))
  5.         intRemainder = CInt(strWhole(1))
  6.         intConvert = intNum1 * 12000 + intRemainder * 1000
  7.         Return intConvert
  8.     End Function