Convert.toString

xiaoxiao2021-03-06  117

Numeric Objects Also Provide Various Kinds of Formatting Options To

Specify The Number of Decimal Places:

Float x = 12.341514325F;

String s = x.toString ("###. ###"); // gives 12.342

转载请注明原文地址:https://www.9cbs.com/read-102296.html

New Post(0)