[Unity] 숫자 단위(K,M,B) 로 바꾸기
입력 숫자를 단위에 따라 변환. K - 1,000 M - 1,000,000 B - 1,000,000,000 using System.Collections; using System.Collections.Generic; using UnityEngine; public class NumberTest : MonoBehaviour { // Start is called before the first frame update void Start() { Debug.Log("1,000 => " + ChangeNumber("1000")); Debug.Log("123,456 => " + ChangeNumber("123456")); Debug.Log("1,000,000 => " + ChangeNumber("1000000")); D..