Accept either , or . for a decimal separator in the gain calculator.