using System; public class misc { public static int intround(double d) { return (int)Math.Round(d); } }