Casting Entropy to Integer