ayi I found using calculations in a switch don't always work... not sure what you are using for yours, but try setting the value to a variable and doing switch on the variable.