Hi

I am developing an accounting application. I am printing an invoice and I need some help in that please.

When user click on print button then the data is sent to database and also to a text file and notepad is opened on the screen and user can prin the invoice by clicking on File>Print.

But I have a problem in formatting Zero when there are big and small items in invoice example

1 Choclates 20 5 100.00
2 Corn Flakes 30 7 210.00
3 Brad 40 2 80.00

-----------------------------------------------
Net 390.00
Vat 50.00
-----------------------------------------------
Gross 440.00

and at the end when doing total same problem is there can you please tell me how to adjust strings so that Zero is under zero no matter what is size of name of item.


looking forward to get any help.