Added option rnd to getIntString