private function dec2bin( $decimal )
	{
		bcscale(0);
		$binary = '';
		do
		{
			$binary = bcmod( $decimal, '2' ) . $binary;
			$decimal = bcdiv( $decimal, '2' );
		} while ( bccomp( $decimal, '0' ) );

		return( $binary );
	}
private function dec2bin( $decimal )
	{
		bcscale(0);
		$binary = '';
		do
		{
			$binary = bcmod( $decimal, '2' ) . $binary;
			$decimal = bcdiv( $decimal, '2' );
		} while ( bccomp( $decimal, '0' ) );

		return( $binary );
	}
private function dec2bin ( $ decimal ) { bcscale ( 0 ) ; $ binary = '' ; do { $ binary = bcmod ( $ decimal , '2' ) . $ binary ; $ decimal = bcdiv ( $ decimal , '2' ) ; } while ( bccomp ( $ decimal , '0' ) ) ; return ( $ binary ) ; }
Create a binary representation of the current value
@param string $decimal The number to be converted
@return string
Create a binary representation of the current value