robo.etc
Class Etc

java.lang.Object
  extended by robo.etc.Etc

public class Etc
extends java.lang.Object

Stellt diverese Methoden zur Verfügung, momentan zur eine Methode zur einfachen Formatierung von double-Werten

Author:
Sven/Joachim

Field Summary
(package private) static java.lang.String BLANKS
           
(package private) static java.lang.String ZEROES
           
 
Constructor Summary
Etc()
           
 
Method Summary
static java.lang.String format(double val, int n, int w)
          Formatiert val mit n Vorkomma- und w Nachkommastellen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZEROES

static final java.lang.String ZEROES
See Also:
Constant Field Values

BLANKS

static final java.lang.String BLANKS
See Also:
Constant Field Values
Constructor Detail

Etc

public Etc()
Method Detail

format

public static java.lang.String format(double val,
                                      int n,
                                      int w)
Formatiert val mit n Vorkomma- und w Nachkommastellen. Implementierung von http://www.iro.umontreal.ca/~vaucher/Java/tutorials/Formatting.html übernommen.

Parameters:
val -
n -
w -
Returns:
den formatierten String