(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% = 294
Remaining months:
100% = 78
70% = 54
85% = 66
95% = 74
Ruby = 216 + 70% = 270
Sapphire = 216 + 85% = 282
Emerald = 216 + 95% = 290
should be 230 233 235 237