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

Feature Request: Support for signed/negative decimal values #176

Closed
apolkosnik opened this issue Aug 8, 2017 · 2 comments
Closed

Feature Request: Support for signed/negative decimal values #176

apolkosnik opened this issue Aug 8, 2017 · 2 comments

Comments

@apolkosnik
Copy link

Summary

I had a small array of signed decimals e.g. -4,-24,-119,0... and I wanted to convert them into hexadecimals.

"To Decimal" throws an error.

Perhaps it would be great to have a checkbox for "signed" or some way to convert to unsigned e.g.:

var x = [ -4,-24,-119,0];
x.forEach(function(s) { 
     document.write((s < 0 ? (0xFF + s + 1) : s).toString(16));
} );
@n1474335 n1474335 changed the title Bug: missing support for signed/negative values Feature Request: Support for signed/negative decimal values Aug 10, 2017
@n1474335
Copy link
Member

n1474335 commented Nov 7, 2018

Closed in #390.

@n1474335 n1474335 closed this as completed Nov 7, 2018
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

3 participants