commit | 6557d44f1d2d7ab7b0a8fc9e1c982050ed33426f | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Mar 21 17:47:41 2023 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Wed Apr 26 14:12:59 2023 +0200 |
tree | d3eb653b86c316361095015cbf9ea338be1c50c0 | |
parent | 66d4e493f2e2c83fd5c4a01af54ce881317bd91b [diff] [blame] |
Show 2 decimals in details for floats Change-Id: I70d4c7ac15b008736a4f0a9db771fbee3ba67711
diff --git a/User.php b/User.php index 642e894..790af5a 100644 --- a/User.php +++ b/User.php
@@ -137,6 +137,7 @@ else $value = "no"; } elseif(is_float($value)) { $key .= " €"; + $value = number_format($value, 2, '.', ' '); } $value = str_replace("\r\n", "<br>", $value); $key = str_replace("_", " ", ucfirst($key));