The output you're seeing is scientific notation.
In Java, double is printed as scientific notation if the magnitude is less than 10^-3 or greater than 10^7.
Double#toString() javadocs
For a magnitude m:
- If
m is greater than or equal to 10^-3 but less than 10^7, then it is
represented as the integer part of m, in decimal form with no leading
zeroes, followed by '.' ('\u002E'), followed by one or more decimal
digits representing the fractional part of m.
- If
m is less than 10^-3 or greater than or equal to 10^7, then it is
represented in so-called "computerized scientific notation." Let n be
the unique integer such that 10^n ≤ m < 10^n+1; then let a be the
mathematically exact quotient of m and 10^n so that 1 ≤ a < 10. The
magnitude is then represented as the integer part of a, as a single
decimal digit, followed by '.' ('\u002E'), followed by decimal digits
representing the fractional part of a, followed by the letter 'E' ('\u0045'), followed by a representation of n as a decimal integer,
as produced by the method Integer.toString(int).
Since your output of 1.7329E-4 has a magnitude of 10^-4, it falls under the second category, per listed above.