public int NoofDecimalPlacesFind() { int inNoOfDecimalPlaces = 0; try { ExchangeRateBll BllExchangeRate = new ExchangeRateBll(); if (cmbCurrency.SelectedValue != null) { inNoOfDecimalPlaces = BllExchangeRate.NoOfDecimalNumberViewByCurrencyId(Convert.ToDecimal(cmbCurrency.SelectedValue.ToString())); } } catch (Exception) { throw; } return inNoOfDecimalPlaces; }