Class Tools

java.lang.Object
de.das.encrypter.tools.Tools

public class Tools extends Object
Miscellaneous method.
  • Constructor Details

    • Tools

      public Tools()
  • Method Details

    • getFormatted

      public static String getFormatted(String format, double val)
      Parameters:
      format - the format of the returned string (%1$dd.nkf)
      where "dd" is number of all digits and "nk" number of digits behinde the comma.
      val - the value to be formatted.
      Returns:
      a string formatted as requested.