Ah, I'd never noticed that $bytes(N,b) rounds numbers, I thought it only keeps the integer part. No good points left for me to add smile