Class FormatedString


  • public class FormatedString
    extends Object
    a utlity class to format numbers into strings. specify a length and number of decimal places.
    Author:
    ian turton
    • Constructor Detail

      • FormatedString

        public FormatedString()
    • Method Detail

      • format

        public static final String format​(double d)
      • format

        public static final String format​(int i)
      • format

        public static final String format​(int i,
                                          int len)
      • format

        public static final String format​(String in,
                                          int dp,
                                          int len)
      • format

        public static final String format​(String in,
                                          int dp)
      • main

        public static void main​(String[] args)