num.New1
Dim totNr,totStr,mynumber As String
totStr="38,8"
Msgbox(totStr,"Foutmelding",cMsgboxOK,cMsgboxHand)
mynumber=textbox1.Text ' mynumber ="45,7"
Msgbox(mynumber,"Foutmelding",cMsgboxOK,cMsgboxHand)
' this goes wrong result=-69 instead of -6,9
totNr=num.Parse(totStr)-num.Parse(mynumber)
Msgbox(totNr,"Foutmelding",cMsgboxOK,cMsgboxHand)