hi I am making a project where i can accept online payment. I am facing a problem that, Whenever total amount is like $7.77 the program works fine for me.
But when total amount is something like $34.00 or $354.70. It removes the zero's from end after calculating amount. and it will be $34. %26amp; $354.7 which is not accepted. So plz tell me how can i pad zero's to the right when it is required.
Plz give me some examle if you can in ASP.
How to Pad zeros to the right in ASP?
for calculations its not a problem
for display just set the format of the box to 2 decimal places
wholesale flowers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment