Hex to dec in Javascript
$10-30 USD
Paid on delivery
Hello, I need a short code in JavaScript for transform Hex to Dec as the picture shows (4 digits), but only take the numbers in the rectangule .
The example is like this :
function Decoder(bytes, port) {
var X1 = (bytes[2]<<8) | bytes[3];
return {
'X1' : X1,
}
}
Project ID: #21695970
About the project
4 freelancers are bidding on average $26 for this job
Hello, I have viewed your request. I find it quite interesting. I will be happy to demo it in advance for you. I actually wrote the same function. Look forward to hearing from you. Thank you!