Hi forum members,
I would have a basic question about the handling of float values...
My problem:
I receive an array with byte values. One byte represents the absolut value the other byte represents the values after comma.
I tried like this:
var Depth = 0.0; Depth = value[6]; // Absolut value Depth = Depth + (value[7]/100); // Value after comma
But seems that the assignment of byte changes the datatype. Casting like on C also not possible.
This is really basic, but I did not find any useful answer in the internet.
Thanks for reply!
Best regards Sven