Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Charlie Somerville

By: a guest on Apr 5th, 2009  |  syntax: C#  |  size: 0.13 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. using System;
  2.  
  3. public class misc
  4. {
  5.     public static int intround(double d)
  6.     {
  7.         return (int)Math.Round(d);
  8.     }
  9. }