We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba5b72b commit 1e2554bCopy full SHA for 1e2554b
1 file changed
src/feathers/formatters/NumberFormatter.hx
@@ -354,7 +354,8 @@ class NumberFormatter extends Formatter {
354
return "";
355
}
356
357
- if (decimalSeparatorTo == "" || !Math.isNaN(Std.parseFloat(decimalSeparatorTo))) {
+ // some versions of HL incorrectly parse "." as 0
358
+ if (#if hl decimalSeparatorTo != "." && #end (decimalSeparatorTo == "" || !Math.isNaN(Std.parseFloat(decimalSeparatorTo)))) {
359
error = Formatter.defaultInvalidFormatError;
360
361
0 commit comments