Problems selecting and toggling LED status with potentiometer

Use if() just like normally

    case 12:    // SIN
            b = Serial.parseFloat();
            if (Degrees){b = b * Pi / 180.0; }
            LastX = sin(b);
            Serial << _FLOAT(LastX, decimals);
            break;