public static double Round(object data) { if (data == null || data == System.DBNull.Value) { return 0; } else { return Convert.ToDouble(Math.Round(Convert.ToDecimal(data), 2, MidpointRounding.AwayFromZero)); } }ci