question about variable output...

by Sail (no login)

im just learning QB and i have an assignment due...

we have to write a program that figures out sales tax on a given item...
when it runs, if any amount that needs to be displayed ends in zero, ie 15.50 it will drop off the zero and display 15.5

i understand that the computer sees no reason to display the zero, and as it stands i will recieve full points for the assignment...but for asthetic reasons id like the zero to stay...any help would be appreciated

Posted on Sep 10, 2010, 10:12 PM

Respond to this message   

Return to Index


Response TitleAuthor and Date
heres my code btw...Sail on Sep 10
Re: question about variable output...codeguy on Sep 10
 thanks...Sail on Sep 11