Truncating 1 and 0 and returning as a double - C#