|
-
Apr 11th, 2005, 05:02 AM
#1
Thread Starter
Frenzied Member
select case with non integer numbers
Hello
I have got a select case structure with non integer values, it goes like this
select case power
case 0.001
'statements
case 1
'statements
case 2
'statements
case 20.001
'statements
case 40
'statements
case 40.001
'statements
case 60
'statements
case 60.001
'statements
end select
however my case structure does not work with non integer values like the 0.001, 40.001, 60.001
i tried with declaring power as a double like so
Code:
Dim power As Double
but that did not work either
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
|