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