Home
last modified time | relevance | path

Searched refs:digits (Results 1 – 1 of 1) sorted by relevance

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java424 private static int formatFloat(final char[] out, float val, int digits) { in formatFloat() argument
434 if (digits > POW10.length) { in formatFloat()
435 digits = POW10.length - 1; in formatFloat()
437 val *= POW10[digits]; in formatFloat()
441 while (lval != 0 || charCount < (digits + 1)) { in formatFloat()
446 if (charCount == digits) { in formatFloat()