VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This program will give the total price of the item after entering the price before tax and the stat

by Osama\ (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 12th July 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This program will give the total price of the item after entering the price before tax and the state sales tax. (e.g. .09) Shows the tax and

API Declarations





Rate This program will give the total price of the item after entering the price before tax and the stat



Dim i As Single, t As Single 
i = Val(txtp) 
t = Val(txts) 
lblt = i * t 
lbltp = lblt + i 
Printer.Print "Name, Sales Tax program" 
Printer.Print "The Price of the Item was "; txtp 
Printer.Print "The State Sales Tax was "; txts 
Printer.Print "The Tax was "; lblt 
Printer.Print "The Total Price of the Item was "; lbltp 
Printer.Print "" 
End Sub 

Private Sub Command2_Click() 
txtp = " " 
txts = " " 
lblt = " " 
lbltp = " " 
End Sub 

Private Sub Command3_Click() 
End 
End Sub 


Download this snippet    Add to My Saved Code

This program will give the total price of the item after entering the price before tax and the stat Comments

No comments have been posted about This program will give the total price of the item after entering the price before tax and the stat. Why not be the first to post a comment about This program will give the total price of the item after entering the price before tax and the stat.

Post your comment

Subject:
Message:
0/1000 characters