public static string decbin(double number) { // Trim the number to the lower 32 binary digits. uint temp = unchecked((uint)number); return DoubleToBase(temp, 2); }