1
Hello I have this code on a button.
txtresultado.Text = Math.Round(txtsalmin.Text * 0.2, 2).ToString
Where it takes the value of salmin.text and multiplies poe 0.2 and appears in txtresultado.text with at most 2 boxes after the comma. And my problem is this, for example, if 937 * 0.2 is equal to 187.4 and this appears in txtresultado.text, so far everything is right, but I would like it to appear 187.40 because I am working with money in this system and it has to appear the 2 houses after the comma.
Someone could help me?
I got it, I didn’t know about that option. Thanks!
– Mateus Justino