update rimozione warnings vari
This commit is contained in:
@@ -24,6 +24,18 @@ namespace GPW_Admin
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
/// <summary>
|
||||
/// wrapper traduzione
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(object lemma)
|
||||
{
|
||||
string answ = "";
|
||||
if (lemma != null)
|
||||
answ = traduci(lemma.ToString());
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// Verifica se il valore sia > 0
|
||||
/// </summary>
|
||||
/// <param name="_valore"></param>
|
||||
@@ -31,11 +43,11 @@ namespace GPW_Admin
|
||||
public bool gtZero(object _valore)
|
||||
{
|
||||
bool answ = false;
|
||||
if(_valore!=null)
|
||||
if (_valore != null)
|
||||
{
|
||||
decimal valore = 0;
|
||||
_ = decimal.TryParse(_valore.ToString(), out valore);
|
||||
answ = valore > 0;
|
||||
decimal valore = 0;
|
||||
_ = decimal.TryParse(_valore.ToString(), out valore);
|
||||
answ = valore > 0;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user