I need to format a decimal like this:
00.33
11.24
05.22
The problem is that when I retrieve 00.33 it outputs as 0.33.
I tried everything and can’t get it to work correctly. I could do MySQL’s Zerofill but I’m really trying to avoid that.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1 Answer