Support random digit with [D]