How to convert this number 34900 to 349.00 and 335100 to 3,351.00 in c#.
Loading
How to convert this number 34900 to 349.00 and 335100 to 3,351.00 in c#.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Jun 2, 2022, 7:00 AM
Sachin SinghPosted Jun 2, 2022, 8:12 AM
Amit Mohanty's solution will work if there are 2 zeros at end. If you have variable number of 0 at end ex:- 1 zero or 4 zero or 9 zero then use this