Skip to content
Snippets Groups Projects
Commit d5707add authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix pulse table rendering due to dividing BigDecimals

Resolves #1714
parent c4a3eea2
Branches
Tags
No related merge requests found
......@@ -242,7 +242,7 @@
:max-height :10px
:height :10px
:border-radius :2px
:width (str (float (* 100 (/ (bar-column row) max-value))) "%")})}
:width (str (float (* 100 (/ (double (bar-column row)) max-value))) "%")})} ; cast to double to avoid "Non-terminating decimal expansion" errors
" "]])])
rows)]]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment