henplus.view.util
Class Formatter

java.lang.Object
  extended by henplus.view.util.Formatter

public final class Formatter
extends Object

Knows how to format various things, like number, dates etc.
Created on: Mar 23, 2004


Method Summary
static String formatNumber(double amount, int precision)
          Formats a double to a String with number-format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

formatNumber

public static String formatNumber(double amount,
                                  int precision)
Formats a double to a String with number-format.

Parameters:
amount - the double to be formatted
precision - an int. which precision should be used?
Returns:
a String


? 1997..2006 Henner Zeller