Class RoundQuantity

java.lang.Object
com.vividsolutions.jump.workbench.ui.plugin.scalebar.RoundQuantity

public class RoundQuantity extends Object
Numbers with one or two significant digits, like 1 x 10^3, or 5 x 10^2.
  • Constructor Details

    • RoundQuantity

      public RoundQuantity(int mantissa, int exponent, Unit unit)
  • Method Details

    • getUnit

      public Unit getUnit()
    • getMantissa

      public int getMantissa()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAmountString

      public String getAmountString()
    • getExponent

      public int getExponent()
    • getAmount

      public double getAmount()
    • getModelValue

      public double getModelValue()