Logical expression CASE

good morning
I have a question the logical expression CASE accepts numbers with a comma because I did some tests and with the whole numbers it works well but with the numbers es (1,1: 1,2 etc.) I can not make it work
thank you

Try to use the dot ( . ) instead of comma ( , ). Because the comma is seen as a “command separator”.
So it will be 1.1 , 1.2 etc

This is the expression of houses I wrote and written with the points because it does not accept it
case({[.]prova_liv_slm} ,0, “100” ,1.1, “200” ,2.1, “300”,“FALSE”)

I tried to copy - paste your expression, and right as it is, it will generate an error saying “Cannot use relative tag paths in this context”.
I changed the Tag Path (simply right click on the Tag and choose Copy Tag Path ) everything works as expected.

case(
{test/prova_liv_slm},//value
0,					 // case 1
"100",			 	 // return 1
1.1,				 // case 2
"200",				 // return 2
2.1,				 // case 3
"300",				 // return 3
"FALSE")			 // Default

EDIT:
Sorry, I miswrote the expression :sweat_smile:
You have also to specify the number type.

case(
{test/prova_liv_slm},//value
0,					 // case 1
"100",			 	 // return 1
toFloat(1.1),		 // case 2
"200",				 // return 2
toFloat(2.1),		 // case 3
"300",				 // return 3
"FALSE")			 // Default

thanks, it works great