C# How to format a double to one decimal place without rounding

后端 未结 6 1366

I need to format a double value to one decimal place without it rounding.

double value = 3.984568438706
string result = \"\";

What I have tried

6条回答
提交回复
热议问题