Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

meaning of String.Format("{0:0.##}")

OpenStudy (anonymous):

It simple formats a real no. (double, float) to have maximum two digits after decimal. Ex: String.Format("{0:0.##}", 123.456789) = 123.45 String.Format("{0:0.##}", 123.4) = 123.4

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!