mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 23:45:25 +00:00
use number format to constrain large number displays
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user