zeroclickinfo-goodies icon indicating copy to clipboard operation
zeroclickinfo-goodies copied to clipboard

Binary: Inconsistently handling hex vs strings

Open mintsoft opened this issue 7 years ago • 3 comments

Description

The query 0xfff000 hex in binary converts the string 0xfff00 hex from ASCII into binary. Whereas the query fff000 hex in binary converts the value fff000 into binary (which is what I would expect from both queries)

Steps to recreate

People to notify


Instant Answer Page: https://duck.co/ia/view/binary

mintsoft avatar Aug 28 '17 14:08 mintsoft

I'm wondering if it would be best to deprecate these IAs and move them into the TextConverter IA. RFC @moollaza

pjhampton avatar Aug 28 '17 14:08 pjhampton

deprecate these IAs and move them into the TextConverter IA.

Sounds good to me 👍

moollaza avatar Aug 28 '17 14:08 moollaza

@pjhampton @moollaza Are we any closer to getting unit tests into the JS IA's? I've seen a lot of tweaks to interactive IA's that I'd really like tests around

mintsoft avatar Aug 28 '17 15:08 mintsoft