Home | History | Annotate | Download | only in text

Lines Matching defs:decimals

741             this(n, decimals(n));
756 * Return a guess as to the number of decimals that would be displayed. This is only a guess; callers should
757 * always supply the decimals explicitly if possible. Currently, it is up to 6 decimals (without trailing zeros).
765 public static int decimals(double n) {
777 long temp = (long)(n * 1000000) % 1000000; // get 6 decimals
1080 throw new IllegalArgumentException("Ranges must have the same number of visible decimals: " + start + "~" + end);