[% BLOCK formattimeunit %]
[%# INTERFACE:
# time_unit: the number converting, converts to 2 decimal places
- # unless the last character is a 0, then it truncates to
+ # unless the last character is a 0, then it truncates to
# 1 decimal place
#%]
[% time_unit = time_unit FILTER format('%.2f') %]
[% BLOCK calculatepercentage %]
[%# INTERFACE:
- # act: actual time
+ # act: actual time
# rem: remaining time
# %]
[% IF (act + rem) > 0 %]
- [% (act / (act + rem)) * 100
+ [% (act / (act + rem)) * 100
FILTER format("%d") %]
[% ELSE %]
0