Currently the code expects that the currency symbol is
£
. As far as I can see, if the currency symbol for the user is anything else, this would fail at least in a situation where
mtbx.Text
initially is empty.
Personally I would prefer not using the currency symbol in the text fields since IsNumeric removes the current symbol from the string. However this introduces a possible error source in situations where the currency symbol may change. In my opinion using TryParse with allowed elements and specific cultureinfo would be more reliable solution.
See
Decimal.TryParse Method (String, NumberStyles, IFormatProvider, Decimal)[
^]