mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 03:14:52 +02:00
Added basic placeholder providers for parts.
This commit is contained in:
parent
dee4094d8b
commit
7ce5776694
13 changed files with 521 additions and 3 deletions
|
@ -105,6 +105,7 @@ class SIFormatter
|
|||
* @param float $value The value that should be converted
|
||||
* @param string $unit The unit that should be appended after the prefix
|
||||
* @param int $decimals the number of decimals (after decimal dot) that should be outputed
|
||||
* @return string The formatted value
|
||||
*/
|
||||
public function format(float $value, string $unit = '', int $decimals = 2): string
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue