use number format to constrain large number displays
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1e82c2bfad
commit
ffc7c4e99a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue