It's an almost perfect addon! But why did you deny decimal separator input

It’s an almost perfect addon! But why did you deny decimal separator input if the number can’t be negative? Could you correct it, pls?
“if (isAllowNegative() && (code == 190 || code == 110)) functional = true;”