A
Alex Stevens
Hi All,
I want to cleanly convert a boolean value to a bit value (1 or 0) in vb.net.
I can:
Math.Abs(CInt(bolValue))
or:
cint(bolValue) * -1
However, I wondered if there was a built-in method.
Thanks
Alex
I want to cleanly convert a boolean value to a bit value (1 or 0) in vb.net.
I can:
Math.Abs(CInt(bolValue))
or:
cint(bolValue) * -1
However, I wondered if there was a built-in method.
Thanks
Alex