(double n)
| 335 | } |
| 336 | |
| 337 | String d2s(double n) { |
| 338 | String s; |
| 339 | if (n==(int)n) |
| 340 | s = ResultsTable.d2s(n, 0); |
| 341 | else |
| 342 | s = ResultsTable.d2s(n, 2); |
| 343 | if (s.indexOf(".")!=-1 && s.endsWith("0")) |
| 344 | s = s.substring(0, s.length()-1); |
| 345 | return s; |
| 346 | } |
| 347 | |
| 348 | void saveLineInfo(Roi roi) { |
| 349 | Line line = (Line)roi; |
no test coverage detected