The value am sending is
double value = 100233; string a = (value.ToString("N", CultureInfo.InvariantCulture));
100,233.00 but i want
100,233 i don’t want the trailing zeros . Is there any specific way to get it ?
Here is Solutions:
We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.
you are close
double value = 100233; string a = (value.ToString("N0", CultureInfo.InvariantCulture));
Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂