Fixed bug in allowOnlyDecimalNumbers() (apparently "decimal point" and "period" are not the same thing/key)