Linked Questions
10 questions linked to/from Converting hexadecimal to float in JavaScript
0
votes
1
answer
3k
views
From hex to float - Javascript [duplicate]
I am trying to convert a hex string to a float number in Javascript.
Suppose that I have the hex string "0082d241". Using this online converter and selecting Swap endianness, the correct float value ...
0
votes
0
answers
49
views
Javascript: Parsing Double [duplicate]
Possible Duplicate:
Converting hexadecimal to float in javascript
I am trying to parse Hex Value which is actually a hex representation of c++ double value.
I tried lot of things to convert/parse ...
585
votes
66
answers
963k
views
Random color generator
Given this function, I want to replace the color with a random color generator.
document.overlay = GPolyline.fromEncoded({
color: "#0000FF",
weight: 10,
points: encoded_points,
...
5
votes
3
answers
4k
views
NodeJS - Convert hexadecimal to float
That may sound like a weird struggle and actually easy to do, but I cannot find a working way to convert an hexidecimal in a string format into a float.
My exemple is for instance: 406ea716
If I ...
0
votes
1
answer
5k
views
Javascript hexadecimal number validation using regular expression
My function should return true if the hexa number is valid using regular expressions
note: hexadecimal numbers may contain a point(.) for decimals (example: 2E6.A3)
Hexadecimal: 0 1 2 3 4 ...
1
vote
2
answers
841
views
Convert hexadecimal to 32 float in javascript
I have this function in php that would convert hexadecimal to 32 float in php. How do you do it in Javascript
public static function hexTo32Float($val)
{
$packed=pack("H*",$val);
$reversedpac=...
3
votes
2
answers
499
views
Converting fractions into hexadecimal
Say you had a number (28.5) and you needed to convert it into hexadecimal.
28 would be 1C, and 29 would be 1D, but what would 28.5 be?
Could you even convert that?
I'm asking this because I'm ...
-1
votes
1
answer
403
views
reading float values from binary file (in after effects script)
I have a binary file containing data recorded using a c program.
the data stored in files are float values.
Now I need to retrieve the float numbers from binary file in after effects script.
This is ...
2
votes
1
answer
246
views
Convert a number (also float) to a hexadecimal and vice-versa
I'm trying to create two functions: the first one that converts a number (also float) to a hexadecimal string and the second one that does the vice versa.
This is my code:
function base10ToBase16(...
1
vote
1
answer
126
views
Extract number form a hexadecimal dataFrame parseInt()ParseFloat()
Im trying to parse the data coming from some sensors, The data I recive is a hexadecimal number f.e.:
'450934644ad7a38441' I want to extract the last 8 characters, that are the value for temperature ...