The output of the data is something like x.xxxxxxxx in html.
I want to set in two decimal like
x.xx.
My code is
"<TD ALIGN=CENTER>$value</TD>"
The output of the data is something like x.xxxxxxxx in html.
I want to set in two decimal like
x.xx.
My code is
"<TD ALIGN=CENTER>$value</TD>"
2
Answers
You can use javascript to do that.
Typically you should make the change in JavaScript but you can also use JS in HTML using the script tag. So, you can use: