The decimal.Parse(string s)
overload, by default, is called with NumberStyle NumberStyles.Number
which is defined as:
Indicates that the AllowLeadingWhite, AllowTrailingWhite, AllowLeadingSign, AllowTrailingSign, AllowDecimalPoint, and AllowThousands styles are used. This is a composite number style.
Note that AllowTrailingSign
is included. If you wish to customize the behaviour then you should explicitly call the overload that allows you to specify a number style and tailor it to your needs.