Fixes having a bunch of digits behind the decimal point on nodelist
This commit is contained in:
@@ -37,12 +37,12 @@
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<h2>Motor Current</h2>
|
||||
<p><%=channels["ipp.e300averagecurrent"].value %> A</p>
|
||||
<p><%= Math.round(channels["ipp.e300averagecurrent"].value * 100) / 100 %> A</p>
|
||||
</div>
|
||||
<% if (channels["ipp.downholetoolenabled"].value == 1) { %>
|
||||
<div class="col-xs-3">
|
||||
<h2>Fluid Level</h2>
|
||||
<p><%=channels["ipp.dhfluidlevel"].value %> ft</p>
|
||||
<p><%= Math.round(channels["ipp.dhfluidlevel"].value * 10) / 10 %> ft</p>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user