Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary to Dec and reverse #67

Open
martindsouza opened this issue Apr 10, 2016 · 1 comment
Open

Binary to Dec and reverse #67

martindsouza opened this issue Apr 10, 2016 · 1 comment
Milestone

Comments

@martindsouza
Copy link
Member

See http://www.orafaq.com/wiki/Binary

For dec2bin should also include option to add spacing.

Can also look at passing in base as an option to expand logic to hex etc.

@martindsouza martindsouza added this to the Future milestone Aug 8, 2016
@zhudock
Copy link
Contributor

zhudock commented Jun 23, 2017

Tom Kyte has a decent example of converting decimal to any base up to base36. His PL/SQL is pretty lightweight.
http://www.oracle.com/technetwork/issue-archive/2006/06-jul/o46asktom-085866.html

zhudock added a commit to zhudock/oos-utils that referenced this issue Dec 6, 2017
zhudock added a commit to zhudock/oos-utils that referenced this issue Dec 6, 2017
zhudock added a commit to zhudock/oos-utils that referenced this issue Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants