We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1faab7 + 175f41f commit ebdc0d9Copy full SHA for ebdc0d9
haxe/ui/util/StringUtil.hx
@@ -87,7 +87,7 @@ class StringUtil {
87
}
88
89
#if !macro // stringtools gets used in macros, but some functions rely on haxeui "bits" (like locales), lets wrap to avoid problems
90
- private static var humanReadableRegex = ~/\B(?=(\d{3})+(?!\d))/g;
+ private static var humanReadableRegex = ~/\B(?=(\d{3})+(?!\d))(?<!\.\d*)/g;
91
private static inline var THOUSAND:Int = 1000;
92
private static inline var MILLION:Int = THOUSAND * THOUSAND;
93
private static inline var BILLION:Int = MILLION * THOUSAND;
0 commit comments