Well, FIX() will give you integers, not bytes, unless you use the TYPE keyword. There are any number of ways to turn floats into bytes. The BYTE() function is one, of course, but you might also look at BYTSCL(). Sometimes people do tricks like multiply the floating pt number by 100 then turn that into bytes, but your data have to be appropriate for that. As for if it's suitable, that depends on how you define "suitable." I think that's a call I'll leave up to you :)
|