Template:Convert/rand

{{#if:{{{6|}}|{{rnd|{{{2}}}-(({{{2}}}/{{{6}}})-0.5round0)*{{{6}}}|({{max/3|0|{{precision/+|1{{{1}}}}}+({{{5}}}-0.1989700043)round0|1-{{ordomag|{{{2}}}}}}})}}|({{max/3|0|{{precision/+|1{{{1}}}}}+({{{5}}}-0.1989700043)round0|1-{{ordomag|{{{2}}}}}}})}}