I have a float data type in C#.
Let's say its value is
5.827671
and I want to concat/round it to the nearest 100th place
5.83
How would I do that?
The value is ported to a string by
floatvalue.ToString()
Let's say its value is
5.827671
and I want to concat/round it to the nearest 100th place
5.83
How would I do that?
The value is ported to a string by
floatvalue.ToString()







Sign In
Create Account

Back to top









