# org.das2.datum.format.DatumFormatUtil



# DatumFormatUtil( )


***
<a name="bestFormatter-double-double"></a>
# bestFormatter
bestFormatter( double a, double b ) &rarr; <a href='https://cottagesystems.com/~jbf/autoplot/doc/org/das2/datum/format/DatumFormatter.html'>org.das2.datum.format.DatumFormatter</a>

Return a common formatter for two double values. Preserves their decimal significant digits, padding with zeros where
 necessary.

### Parameters:
a - first value
<br>b - second value

### Returns:
a formatter suitable for both values

<a href="https://github.com/autoplot/dev/search?q=bestFormatter&unscoped_q=bestFormatter">[search for examples]</a>
<a href="https://github.com/autoplot/documentation/blob/master/javadoc/index-all.md">[return to index]</a>

