こう!
float f = 123; String.Format("{0:0.##}", f); //123 f = 123.45; String.Format("{0:0.##}", f); //123.45
検索用ワード:少数、桁数
I'd rather be his whore than your wife
Indie Game Developer KITTYPOOL's Official Webs here btw
こう!
float f = 123; String.Format("{0:0.##}", f); //123 f = 123.45; String.Format("{0:0.##}", f); //123.45
検索用ワード:少数、桁数