The online racing simulator
how to put , in cash?
(3 posts, started )
how to put , in cash?
Hello guys,

I've been coding my own cruise insim (without a team) in blackwood although the streets arrangement, xy's and the jobs are done but my problem is how to put a , in the cash?

like for example i reached 1000 its like 1,000


well just help a little thanks

EDIT: I'm using LFS_External in dougie-lampkins open source cruise or I mean C#
This isn't an InSim related question, it's a C# question. To format output you can use the String.Format method.

To format an integer with thousands commas, you can do this:

string.Format("{0:n0}", 3536453);

// Output: 3,536,453

tnx very much!

how to put , in cash?
(3 posts, started )
FGED GREDG RDFGDR GSFDG