D
Drygast
I get the value that doesn't add up correct.
I have 2 textboxes where I enter numbers, I then calculate them and present
them as a reslut in a 3rd
textbox, however when the result is calculated it won't calculate the
correct value.
For instance when the value is 75,25 the code interprets it as 75.
The code:
lblSumma2.Text = Val(lblSumma2.Text) + ((txtAntal.Text) * myMinutNetto) +
myFastNetto
The problem is the val(lblsumma2.text), it skips the decimals, how can I
change this to use the actual number?
(lblSumma2.text will show the correct value, the problem is just when using
the val()-option)
Regards
/Drygast
I have 2 textboxes where I enter numbers, I then calculate them and present
them as a reslut in a 3rd
textbox, however when the result is calculated it won't calculate the
correct value.
For instance when the value is 75,25 the code interprets it as 75.
The code:
lblSumma2.Text = Val(lblSumma2.Text) + ((txtAntal.Text) * myMinutNetto) +
myFastNetto
The problem is the val(lblsumma2.text), it skips the decimals, how can I
change this to use the actual number?
(lblSumma2.text will show the correct value, the problem is just when using
the val()-option)
Regards
/Drygast