Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit b15e910

Browse files
author
mgrauer
committed
Format Scalar details Value to 4 decimals
1 parent c387f59 commit b15e910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tracker/views/scalar/details.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</tr>
3535
<tr>
3636
<th>Value:</th>
37-
<td><span id="thisValue"><?php echo $this->escape($this->scalar->getValue()).' '.$this->escape($this->scalar->getTrend()->getUnit(
37+
<td><span id="thisValue"><?php echo $this->escape(number_format((float) $this->scalar->getValue(), 4, '.', '')).' '.$this->escape($this->scalar->getTrend()->getUnit(
3838
)); ?></span>
3939
</td>
4040
</tr>

0 commit comments

Comments
 (0)