- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for formatCompact4Digits (0.06 sec)
-
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
// choosing to turn .precomputed() into a no-op in GWT, because it doesn't // seem to be a worthwhile tradeoff in a browser. return matcher; } static String formatCompact4Digits(double value) { return toPrecision(value, 4); } @JsMethod(name = "Number.prototype.toPrecision.call", namespace = JsPackage.GLOBAL) private static native String toPrecision(double value, int precision);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Platform.java
* `get()`, but that is vanishingly unlikely. */ return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get())); } static String formatCompact4Digits(double value) { return String.format(Locale.ROOT, "%.4g", value); } static boolean stringIsNullOrEmpty(@Nullable String string) { return string == null || string.isEmpty(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.1K bytes - Viewed (0)