Format difference in Mac and Windows

I wonder if this is something in the C libraries on each platform
I cant say which functions might be in use for the format function but you might try sprintf or snprintf on each and see if that results in a similar difference

Either way it should be reported as an inconsistency across platforms that maybe Xojo can fix