mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
use number format to constrain large number displays
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1e82c2bfad
commit
ffc7c4e99a
|
@ -26,8 +26,8 @@ class LabelsTransformer
|
|||
'name' => $label->getName(),
|
||||
'unit' => $label->getUnit(),
|
||||
|
||||
'width' => $label->getWidth(),
|
||||
'height' => $label->getHeight(),
|
||||
'width' => number_format($label->getWidth(), 2),
|
||||
'height' => number_format($label->getHeight(), 2),
|
||||
|
||||
'margin_top' => $label->getMarginTop(),
|
||||
'margin_bottom' => $label->getMarginBottom(),
|
||||
|
|
Loading…
Reference in a new issue