Use pseudo-random generator for mk.number().
[#1465] Use pseudo-random generator for mk.number().