摘要: 浮点数转字符串 using UnityEngine; public class Juse : MonoBehaviour { float a = 2; float b = 6666.6666f; void Start() { Debug.Log(a.ToString("#00"));//输出:02 阅读全文
posted @ 2023-06-07 16:31 gatran 阅读(43) 评论(0) 推荐(0) 编辑