c#保留小数点

c#中

distance.ToString("F3");

的意思是保留double类型变量distance的后三位小数点

posted on 2021-06-24 14:24  沐楚  阅读(165)  评论(0)    收藏  举报

导航