Hi all, I’m trying to convert a decimal into a string but whenever I do it seems to add 8 zeros to the end, I’ve included a screenshot below to show what I mean. Any ideas on how to show it for 1 decimal place like 1.5 instead of 1.50000000? Thanks
asked
Nathan Williams
1 answers
4
Hi, you might try using formatDecimal($decimalValue, ‘#.#’) function. Number of digits after decimal can be restricted using this.