static double toSeconds(long ms) {
  ret ms/1000.0;
}

static S toSeconds(long ms, int digits) {
  ret formatDouble(toSeconds(ms), digits);
}

static double toSeconds(double ms) {
  ret ms/1000.0;
}

static S toSeconds(double ms, int digits) {
  ret formatDouble(toSeconds(ms), digits);
}