Added basic placeholder providers for parts.

This commit is contained in:
Jan Böhmer 2020-04-14 17:21:30 +02:00
parent dee4094d8b
commit 7ce5776694
13 changed files with 521 additions and 3 deletions

View file

@ -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
{