conbaseor
v1.0.7
Published
Converts between bases decimal, binary, bcd
Downloads
3
Readme
��/�/� �:� �)� �:� �-� �H�o�w�e�v�e�r� �y�o�u� �w�a�n�t� � �/�/� � � � �C�o�n�b�a�s�e� �b�e�t�w�e�e�n� �d�e�c�i�m�a�l�,� �b�i�n�a�r�y� �a�n�d� �b�c�d� �w�i�t�h� �t�h�i�s� �s�i�m�p�l�e� �a�p�i�.� � � � �v�a�l�u�e�s� �m�u�s�t� �b�e� �e�n�t�e�r�e�d� �a�s� �a� �s�t�r�i�n�g�.� �D�e�c�i�m�a�l�s� �m�u�s�t� �b�e� �p�o�s�i�t�i�v�e� �i�n�t�e�g�e�r�s�.� � � �W�r�o�n�g� �v�a�l�u�e�s� �a�r�e� �r�e�t�u�r�n�e�d� �a�s� �u�n�d�e�f�i�n�e�d� �w�i�t�h� �a� �m�e�s�s�a�g�e� �i�n� �t�h�e� �c�o�n�s�o�l�e�.� � � � � � �n�p�m� �i� �c�o�n�b�a�s�o�r� � � � �l�e�t� �c�o�n�b�a�s�o�r� �=� �r�e�q�u�i�r�e�(�'�c�o�n�b�a�s�o�r�'�)�;� � � � �/�/� �c�o�n�b�a�s�e�o�r� �=� �{� � � �/�/� � � � �b�2�d�:� �[�F�u�n�c�t�i�o�n�:� �b�2�d�]�,� � �/�/� � � � �d�2�b�:� �[�F�u�n�c�t�i�o�n�:� �d�2�b�]�,� � �/�/� � � � �d�2�b�c�d�:� �[�F�u�n�c�t�i�o�n�:� �d�2�b�c�d�]�,� � �/�/� � � � �b�c�d�2�d�:� �[�F�u�n�c�t�i�o�n�:� �b�c�d�2�d�]� � �/�/� �}� � � � �l�e�t� �d�2�b� �=� �c�o�n�b�a�s�e�o�r�.�d�2�b�(�'�1�3�'�)�;� � �/�/� �'�1�1�0�1�'� � � � �l�e�t� �b�2�d� �=� �c�o�n�b�a�s�e�o�r�.�b�2�d�(�'�1�1�0�1�'�)�;� � �/�/� �'�1�3�'� � � � �l�e�t� �d�2�b�c�d� �=� �c�o�n�b�a�s�e�o�r�.�d�2�b�c�d�(�'�0�0�0�1�'�)� � �/�/� �[� �{� �b�c�d�:� �'�0�0�0�0�'�,� �d�e�c�i�m�a�l�:� �'�0�'� �}�,� � �/�/� �{� �b�c�d�:� �'�0�0�0�0�'�,� �d�e�c�i�m�a�l�:� �'�0�'� �}�,� � �/�/� �{� �b�c�d�:� �'�0�0�0�0�'�,� �d�e�c�i�m�a�l�:� �'�0�'� �}�,� � �/�/� �{� �b�c�d�:� �'�0�0�0�1�'�,� �d�e�c�i�m�a�l�:� �'�1�'� �}� �]� � � � �l�e�t� �b�c�d�2�d� �=� �c�o�n�b�a�s�e�o�r�.�b�c�d�2�d�(�'�0�0�0�1�'�)� � �/�/� �[� �{� �b�c�d�:� �'�0�0�0�1�'�,� �d�e�c�i�m�a�l�:� �'�1�'� �}� �]� � �