I have a fixed length float number for example 99999.99 where 9 is a number from 0 - 9. I want to display all the digit position regardless if it has leading zeroes or ending zeroes.
For example:
function nameX()
{
var x = 00083.10
document.form[0].text1.value = var
}
when displayed, I want to see exactly 00083.10 and not
83.1
How do I tell JavaScript to display leading and ending zeroes?
For example:
function nameX()
{
var x = 00083.10
document.form[0].text1.value = var
}
when displayed, I want to see exactly 00083.10 and not
83.1
How do I tell JavaScript to display leading and ending zeroes?