A string like this (is this binary ?) How can it be changed to a string like 0.44322344322344, 0.44322344322344, 0.44444444444444, 0. 46... bytes (is this binary ?)
How can I change
0.44322344322344, 0.44322344322344, 0.44444444444444, 0.45421245421245, 0.46031746031746, 0.46153846153846, 0.45421245421245
Reply content:
A string like this (is this binary ?)
How can I change
0.44322344322344, 0.44322344322344, 0.44444444444444, 0.45421245421245, 0.46031746031746, 0.46153846153846, 0.45421245421245
It starts with 0x and has a letter in the middle. If it is a number, it is obviously a hexadecimal number.
Binary is 0101. Okay.
In addition, the visual test is a very large number. js converted the result to 6.47481608675229e + 82.
How can I change to a floating point number smaller than 1 when the 10th power is 82?
If you want to ask the php hexadecimal to decimal method, you can use the hexdec or base_convert function.
Hexdec ($ hex_string)
Base_convert ($ hex_string, 16, 10 );
It's not clear what the subject means. This is a hex string, but you need to know what it represents first.