MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / toString

Method toString

ij/src/main/java/ij/util/DicomTools.java:77–80  ·  view source on GitHub ↗
(double value, int width)

Source from the content-addressed store, hash-verified

75 }
76
77 private static String toString(double value, int width) {
78 String s = " " + IJ.d2s(value,0);
79 return s.substring(s.length()-MAX_DIGITS);
80 }
81
82 private static String getSliceLabel(ImageStack stack, int n) {
83 String info = stack.getSliceLabel(n);

Callers 1

getSortStringsMethod · 0.95

Calls 3

d2sMethod · 0.95
substringMethod · 0.80
lengthMethod · 0.65

Tested by

no test coverage detected