English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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. & $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.

2006-08-18 02:04:14 · 1 answers · asked by AshishBatra 5 in Computers & Internet Programming & Design

1 answers

for calculations its not a problem
for display just set the format of the box to 2 decimal places

2006-08-18 02:10:20 · answer #1 · answered by Ivanhoe Fats 6 · 0 0

fedest.com, questions and answers