Nullable bool/float/int docfield

I need a docfield to have 3 values: unassigned(null), true or false.
Can we have nullable boolean ?

Similarly, I need a float docfield to distinguish between unassigned(null) and 0 value.