int and float versions