jas.util
Class DoubleWithError
java.lang.Object
jas.util.DoubleWithError
public class DoubleWithError
- extends Object
A class that encapsulates a value and its error.
Primarily for use with ScientificFormat
- See Also:
ScientificFormat
plusorminus
public static final String plusorminus
- See Also:
- Constant Field Values
DoubleWithError
public DoubleWithError(double value,
double error)
setError
public void setError(double error)
getError
public double getError()
setValue
public void setValue(double value)
getValue
public double getValue()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2009 FreeHEP. All Rights Reserved.