📅  最后修改于: 2022-03-11 14:49:06.883000             🧑  作者: Mango
代码示例1
using System;
int decimalPlaces = 4;
float number = 10.335577f;
Debug.Log(Math.Round(number, decimalPlaces));
//Output: 10.3356