Use the precision formatter 'f0' with String.Format("{0:f0}", number), especially if it is for debug logs.