[quote=@Multifarious] The bit for positive numbers always seems to return a value of zero regardless of the input. Not sure if that's an issue with my own code or not though. [/quote] Could you send me your code via PM or otherwise?