diff options
author | msquare <msquare@notrademark.de> | 2017-12-30 12:07:10 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2017-12-30 12:07:10 +0100 |
commit | c961269bb718cfc5b5889af88fd12bfc86563d09 (patch) | |
tree | e357a3571b7a3472cfaba2887fb1fffaa6d98dd9 /includes/controller/users_controller.php | |
parent | d66dc43aecf10e53acded391c196752444f9d70e (diff) |
better hour formatting
Diffstat (limited to 'includes/controller/users_controller.php')
-rw-r--r-- | includes/controller/users_controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/users_controller.php b/includes/controller/users_controller.php index c763cd48..8a325621 100644 --- a/includes/controller/users_controller.php +++ b/includes/controller/users_controller.php @@ -228,7 +228,7 @@ function user_controller() if($user_source['force_active']) { $tshirt_score = _('Enough'); } else { - $tshirt_score = round(User_tshirt_score($user_source), 2) . ' h'; + $tshirt_score = sprintf('%.2f', User_tshirt_score($user_source)) . ' h'; } return [ |