Formats a value using a format string.
public static String format( double value, String format )
public static String format( int value, String format )
public static String format( Object value, String format )
public static String format( double value, String format )
value
The value to format.
format
The user-defined format string or name of a predefined format.
Returns a string containing the formatted value.