Examples of using the NETXPF.Library.Format class:

Format.FormatSize(990000, 3); //should output '967 KB'

Format.FormatSize(990000, 2); //should output '970 KB'

Format.FormatSize(1048576, 2); //should output '1.0 MB'

Format.RoundToSigDigits(3.1415, 3); //should return 3.14

Last edited Oct 25, 2010 at 7:05 AM by dacris, version 4

Comments

No comments yet.