mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 19:34:31 +02:00
Format amounts in part tables using the partUnit
This commit is contained in:
parent
718e472e04
commit
a6f16315ee
2 changed files with 13 additions and 4 deletions
|
@ -105,7 +105,6 @@ class AmountFormatter
|
|||
if (!is_numeric($value)) {
|
||||
throw new \InvalidArgumentException('$value must be an numeric value!');
|
||||
}
|
||||
|
||||
$value = (float) $value;
|
||||
|
||||
//Find out what options to use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue