byteToFloat

Converts a 'byte' color component in the range of 0 to 255 into a 'float' color component in the range of 0 to 1.0.

Return

The converted number.

Parameters

number

The number to be converted.

See also