Use different locale for the Format function?

Posted by DR on Stack Overflow See other posts from Stack Overflow or by DR
Published on 2010-03-26T10:15:34Z Indexed on 2010/03/26 20:53 UTC
Read the original article Hit count: 212

Filed under:

In a VB6 application I have to build a file which contains a decimal number which must always be written in US format:

1,499.99

But the Format function takes the system settings into account and on a German system this result would be produced: (Using the format string #,##0.00)

1.499,99

Can I force the Format function to use different settings?

© Stack Overflow or respective owner

Related posts about vb6