Forum Discussion
AlexBennett3
5 years agoQrew Trainee
Switching to & worked. I had to keep the ToNumber as I had to use the Left()ToText() to only get XX.XX digits before adding the "%".
Thanks for all your help Austin! I now have the Accurate 28.13% allowed to be highlighted to show importance as well!
Thanks again!
------------------------------
Alex Bennett
------------------------------
Thanks for all your help Austin! I now have the Accurate 28.13% allowed to be highlighted to show importance as well!
Thanks again!
------------------------------
Alex Bennett
------------------------------
BlakeHarrison
5 years agoQrew Captain
Rather than having to convert the number back and forth between Numeric and Text, you can also use the Round function:
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quickbase Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------
var number margin = Round([Total Job Gross Margin F]*100,.01);
If( $margin >= 0 ,
"<span style='background-color:#fbff00; font-size:16px; font-weight:bold'>" & $margin &"%</span>",
"<span style='background-color:#ff0000; font-weight:bold'>"& $margin & "%</span>" )
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quickbase Solution Provider
Atlanta GA
404.800.1702 / http://datablender.io/
------------------------------