using System; using System.Linq; public class Test { public static void Main() { Console.WriteLine(IsNegative(decimal.Round(-0.001M, 2))); Console.WriteLine(IsNegative(decimal.Round(0.001M, 2))); } private static bool IsNegative(decimal d) { return (d == decimal.Zero && decimal.GetBits(d).Last() < 0); } }