public static class CoordinateFormat.DecimalCoordFormat extends java.lang.Object implements CoordinateFormat.Format
Constructor and Description |
---|
DecimalCoordFormat(int accuracy,
CoordinateFormat.DegMinSec degminsec)
Instantiates a new coord format.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(double number)
Format the number.
|
public DecimalCoordFormat(int accuracy, CoordinateFormat.DegMinSec degminsec)
accuracy
- the decimal accuracydegminsec
- the degminsecpublic java.lang.String format(double number)
format
in interface CoordinateFormat.Format
number
- _more_