Check if double is an int.
getChannelLabeling already returns a string.
Picked from jburels commit be3db24