Hi,
i am not a programmer but i do my best.
CODE:
Please log in to see this code.
I have try put "sliderPrioLevel_LG.Value" (see comments) into the PrioCalculation but i am always getting the error "Cannot implicitly convert type bool to double. I thought i can save the line und put it into the PrioCalculation. Can anyone help me with this?
Size:
Color:
Damir, just give it a thought. You're comparing two double values with a less (<) operator. The result is of course boolean: true or false. You cannot expect the "prio" to be a number.
Size:
Color:
Thanks Eugene.
Size:
Color:
CODE:
Please log in to see this code.
The
.Value property returns a double type, so you don't need the
ConvertToDouble() call. The less than (<) operator has lower precedence over the minus (-) operator, so you don't need the parenthesis. I don't know why the 100.0 is in there.
Size:
Color: