0

Extracting an nth bit from a decimal

I'm trying to use the right shift (>>) operator to extract an nth bit from a decimal and its giving me an error: Value was either too large or too small for a UInt16". 

Here is an example : 62914560 >> 0

How do I solve this one?

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 3 days agoLast active
  • 5Views
  • 1 Following