When the rgb is registered as a float, request the value as a float to avoid manipulation.
Also, mask out any extra information that may be stored in the upper 8 bits.
fix whitespace
Merge pull request #1 from wjwwood/patch-2

fix whitespace
Merge pull request #761 from Eruditass/groovy-devel

correctly display selected point's rgb information when registered as a float