Bool to int Convert bool to int (int) ((this.SetmnType == NewmnType.mbol) ? 1 : 0) Convert float to int (int)(float)90f: