Java Number Format Pattern getGeographicPositionFormatter()

Here you can find the source of getGeographicPositionFormatter()

Description

Returns the number formatter for the geographical position feature.

License

Open Source License

Declaration

public static NumberFormat getGeographicPositionFormatter() 

Method Source Code

//package com.java2s;
import java.text.NumberFormat;

public class Main {
    private static NumberFormat GEO_NUM_FORMATTER = NumberFormat
            .getNumberInstance();//from  w  w w  .ja  v  a2  s. com

    /**
     * <p>Returns the number formatter for the geographical position feature.
     * This will format the floating value to the 6th decimal place.</p>
     *
     * @return {@link NumberFormat}
     */
    public static NumberFormat getGeographicPositionFormatter() {
        return GEO_NUM_FORMATTER;
    }
}

Related

  1. getFormatter()
  2. getFormatter(int precision)
  3. getFormatter(String pattern)
  4. getFormatTwoPoint(float param)
  5. getFormatWithMinimumDecimals(final int minimumDecimals, final int maximumDecimals)
  6. getIntegerFormat()
  7. getIntegerFormat(int maximumIntegerDigits)
  8. getIntegerFormatter()
  9. getIntegerNumberFormat()