Help please. I want to take a numeric field that displays as follows 25.00 and display it as 25.00%
Is that possible?
I don't want to change the value submitted to the database.
I think like I have gotten myself down in the weeds and I am making this harder than it needs to be.
I have reviewed scripts for CreateScripts and Custom Content and decided on the following script thinking it would work. However, it did not.
What am I doing wrong? I placed this in the crm.ready function.
var strikeRateV= crm.fields("lead_strikecaprate2").value()var strikeRateP=(parseFloat(strikeRateV).toFixed(2)+"%");crm.fields("lead_strikecaprate2").val(strikeRateP);
I am guessing that it does not work because the field type is numeric rather than text. However, how do you get a % to display?
Any assistance would be greatly appreciated. Thank you!