Why does converting an integer to text with 9 digits group the digits as 2,4,3?

I have a ToText node like so

310928-capture.png

The current locale is en-US, but this formats 0 as 00,0000,000. Is number formatting just broken in 4.24?

Ok, new answer. Minimum digits should be 0.