Reuse existing functions

This commit is contained in:
Ajay Ramachandran
2020-07-03 19:44:15 -04:00
parent 8d53e776b8
commit 77abc1d031
2 changed files with 11 additions and 9 deletions

View File

@@ -338,7 +338,7 @@ class Utils {
secondsNum = Math.floor(secondsNum);
}
let secondsDisplay: string = String(secondsNum.toFixed(3));
let secondsDisplay: string = String(precise ? secondsNum.toFixed(3) : secondsNum);
if (secondsNum < 10) {
//add a zero