Skip to content

Commit

Permalink
Fix being unable to insert . (Fixes #27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Sep 9, 2024
1 parent 003ebf7 commit a2f1447
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ public void setFocused(boolean focused) {
}

protected boolean isNumeric(String value) {
return NumberUtils.isParsable(value);
if (value.equals("."))
return true;
else
return NumberUtils.isParsable(value);
}
}

0 comments on commit a2f1447

Please sign in to comment.