if you just need to set the single to the value of the byte, then drop all of the type casting
no, i'm trying to use it in experssion
mysingle := mybyte / 127
the problem is, if i don't pre-cast the byte
then the result will be always zero, if byte is less than 127
if i pre-cast it to single (without pre-storing it in a single, first)
than i could get a result with a frac which is the desired result.
a function to make the cast, could help here.