In similar posts, I've seen Django mentioned, but it uses curly brackets and not <>
I have a variable that is displaying numbers like:
10.0000
I am trying to get it to display the equivalent of number_format()
in PHP - but I don't know what language this is to achieve it.
<%= number_format(variable,2); %>
was not successful. Nothing in the error logs saying why/what was wrong, the page just broke.
For reference, when I view the source code of the page I see this code raw, it doesn't obfuscate like PHP does.