User:Σ/Testing facility/Factor

{{#ifeq:{{#expr:floor({{{1}}}/{{{2}}})}}|{{#expr:({{{1}}}/{{{2}}})}}|{{{then|1}}}|{{{else|0}}}}}

{{Template doc}}