Thanks a lot! Yes, you're right. I changed it to be divided by 255, now I got expected integer values.
Post
Replies
Boosts
Views
Activity
Sorry for typo, re-edited example
127.0/256; ==> 127
128.0/256; ==> 128
129.0/256; ==> 128
130.0/256; ==> 129
131.0/256; ==> 130