テンプレート:Number/Step25
This template is a step formula for number N:
- if 75 <= N <= 100: it returns 100
- if 50 <= N < 75: it returns 75
- if 25 <= N < 50: it returns 50
- if 0 <= N < 25: it returns 25
- else: it returns 0
Examples
{{Number/Step25|100}}
returns 100
{{Number/Step25|97}}
returns 100
{{Number/Step25|50}}
returns 50
{{Number/Step25|37}}
returns 50