(Sapphire is 85%.) |
(truncating to round down) |
||
Line 5: | Line 5: | ||
100% = {{#expr: 12 * {{#time: y}} + {{#time: m}} - 221}} | 100% = {{#expr: 12 * {{#time: y}} + {{#time: m}} - 221}} | ||
− | 70% = {{#expr: (12 * {{#time: y}} + {{#time: m}} - 221) * 0.7}} | + | 70% = {{#expr: trunc ((12 * {{#time: y}} + {{#time: m}} - 221) * 0.7)}} |
− | 85% = {{#expr: (12 * {{#time: y}} + {{#time: m}} - 221) * 0.85}} | + | 85% = {{#expr: trunc ((12 * {{#time: y}} + {{#time: m}} - 221) * 0.85)}} |
− | 95% = {{#expr: (12 * {{#time: y}} + {{#time: m}} - 221) * 0.95}} | + | 95% = {{#expr: trunc ((12 * {{#time: y}} + {{#time: m}} - 221) * 0.95)}} |
− | Ruby = 216 + 70% = {{#expr: 216 + (12 * {{#time: y}} + {{#time: m}} - 221) * 0.7}} | + | Ruby = 216 + 70% = {{#expr: 216 + trunc ((12 * {{#time: y}} + {{#time: m}} - 221) * 0.7)}} |
− | Sapphire = 216 + 85% = {{#expr: 216 + (12 * {{#time: y}} + {{#time: m}} - 221) * 0.85}} | + | Sapphire = 216 + 85% = {{#expr: 216 + trunc ((12 * {{#time: y}} + {{#time: m}} - 221) * 0.85)}} |
− | Emerald = 216 + 95% = {{#expr: 216 + (12 * {{#time: y}} + {{#time: m}} - 221) * 0.95}} | + | Emerald = 216 + 95% = {{#expr: 216 + trunc ((12 * {{#time: y}} + {{#time: m}} - 221) * 0.95)}} |
should be 230 233 235 237 | should be 230 233 235 237 |
Revision as of 22:53, 18 February 2020
Diamond = 216 + 100% = 295
Remaining months:
100% = 79
70% = 55
85% = 67
95% = 75
Ruby = 216 + 70% = 271
Sapphire = 216 + 85% = 283
Emerald = 216 + 95% = 291
should be 230 233 235 237