|
-
October 12th, 1999, 11:29 PM
#1
InputBox function
I want the precentage raise to be (.05)and multiply it in the form. I've already entered the following code
[vbcode]
Const conPrompt As String = "Enter percentage raise"
Const conTitle As String = "Precentage Raise"
Dim intRaise As Integer
intRaise = Val(InputBox("Enter precentage raise", "Raise"))
End Sub
kazooie21
-
October 15th, 1999, 02:35 PM
#2
Re: InputBox function
One problem, here. If your variable intRaise is declared as Integer, there is no way for it to contain a value .05. Declare the variable as Single or Double.
Reid Allen Robbins
2205 E. Teton Blvd.
Green River, WY 82935
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|