Ukhang / number-converter

Open source number converter web. It allows you to convert numbers from one numeral system to another, such as Decimal to Binary, Binary to Decimal, and more.
https://numberconverter.vercel.app
MIT License
6 stars 1 forks source link

if InputDropVal == "Hexadecimal" give me outputDropVal another value #2

Open Ukhang opened 1 year ago

Ukhang commented 1 year ago

example: inputDropVal == "Hexadecimal" inp == "dadaakakdkakkld" give me outputDropVal == "Binary" op == "11011010110110101010"

git1508hub commented 1 year ago

Screenshot 2023-05-12 192020 In that you are just using first character of string to check whether it in hexadecimal range or not. you need to do it for all character of string, if first character is passed Screenshot 2023-05-12 184941

Ukhang commented 1 year ago

git1508hub solve this problem