Convert values in INDArray to 8 decimal places

I read in an image file and convert it into an INDArray

INDArray image = loader.asMatrix(file, false);
DataNormalization scalar = new ImagePreProcessingScaler(0, 1);
scalar.transform(image);

After transform the INDArray looks like this

image

Is there a way for me to convert the values from 4 decimal places to 8 decimal places ??

That is simply how the .toString() method formats them.

The actual precision is dependent on the data type, which is float32 by default.