JenShin-368 / GenshinImpactCalculator

Genshin Impact Damage Calculator and Optimizer
26 stars 2 forks source link

Accept both dots and commas as decimal separator #125

Open Deses opened 2 years ago

Deses commented 2 years ago

Is your feature request related to a problem? Please describe. Numerical keyboards have a dot instead of a comma, and entering data using the numpad doesn't work too well with the calculator.

In an artifact, entering "5.8%" (with a dot) will be processed as the maximum amount allowed by the slider. "5,8%" (With a comma) works fine.

That makes using the numpad annoying.

Describe the solution you'd like Accept both dots and commas.

Describe alternatives you've considered There's no alternative that I can think of. I don't think keyboard manufacturer will be changing the numpad anytime soon. :P

Additional context