summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl14
1 files changed, 0 insertions, 14 deletions
diff --git a/globals.pl b/globals.pl
index 81b99c8ac..dc0a29570 100644
--- a/globals.pl
+++ b/globals.pl
@@ -1448,20 +1448,6 @@ sub PerformSubsts {
return $str;
}
-sub FormatTimeUnit {
- # Returns a number with 2 digit precision, unless the last digit is a 0
- # then it returns only 1 digit precision
- my ($time) = (@_);
-
- my $newtime = sprintf("%.2f", $time);
-
- if ($newtime =~ /0\Z/) {
- $newtime = sprintf("%.1f", $time);
- }
-
- return $newtime;
-
-}
###############################################################################