using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iWareCommon.Utils
{
public class IntHelper
{
///
/// 获取Int的值
///
///
///
public static int GetIntValue(int? value)
{
return value == null ? 0 : (int)value;
}
///
/// 获取Int的值
///
///
///
public static string GetIntValueToString(int? value)
{
return GetIntValue(value).ToString();
}
}
}