Fixed decimal places is easy
String.Format(\"{0:F1}\", 654.321);
gives
654.3
How do I feed the number of
use
string.Format("{0:F2}", 654.321);
Output will be
654.32