public function format($seconds, $params = null, $locale = null) {
		if ($seconds == 0) {
			return 0;
		}
			
		if ($seconds < 0.01) {
			return round($seconds * 1000, 2) . 'ms';
		}

		if ($seconds < 0.1) {
			return round($seconds * 1000, 1) . 'ms';
		}

		if ($seconds < 1) {
			return round($seconds * 1000) . 'ms';
		}

		if ($seconds < 10) {
			return round($seconds, 2) . 's';
		}	
			
		return round($seconds, 1) . 's';
	}