Navigation
Wiki Links
From SCP: Secret Laboratory English Official Wiki
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{914_Item_2|{{{ammoType2|5.56x45mm}}}|rounds={{#expr: | {{#ifeq:{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}|{{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}|{{914_Item_2|{{{ammoType2|5.56x45mm}}}|rounds={{{amountOfAmmo|15}}}}}| | ||
{{914_Item_2|{{{ammoType2|5.56x45mm}}}|rounds={{#expr: trunc({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}})*{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}}}}}{{#ifexpr:{{#expr:({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}})*{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}} mod {{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}}}= 0||{{914_Item_2|{{{ammoType1|9x19mm}}}|rounds={{#expr: ({{{amountOfAmmo|15}}}/{{AmmoValue|caliber={{{ammoType1|9x19mm}}}}}) * {{AmmoValue|caliber={{{ammoType1|9x19mm}}}}} mod {{AmmoValue|caliber={{{ammoType2|5.56x45mm}}}}}}}}}}}}}<noinclude> | |||
{{Mvar|1= Floor{{Pars|s=200%|{{Overunderset|—|a|c}}}} × b = Converted Ammo}}<br><br> | {{Mvar|1= Floor{{Pars|s=200%|{{Overunderset|—|a|c}}}} × b = Converted Ammo}}<br><br> | ||
{{Mvar|1= {{Pars|s=200%|{{Overunderset|—|a|b}}}} × b % c = Remainder Ammo}}<br><br> | {{Mvar|1= {{Pars|s=200%|{{Overunderset|—|a|b}}}} × b % c = Remainder Ammo}}<br><br> | ||
When converting between 5.56x45mm & 7.62x39mm, do not use the "floor" function. | |||
A = Amount of ammo in the input<br> | A = Amount of ammo in the input<br> | ||
Line 23: | Line 20: | ||
* 12/70 Buckshot = 5 | * 12/70 Buckshot = 5 | ||
* .44 Mag = 7 | * .44 Mag = 7 | ||
Text Example: 8 Rounds of 9x19mm to 5.56x45mm<br> | |||
{{AmmoExchange | |||
|amountOfAmmo = 8 | |||
|ammoType1 = 9x19mm | |||
|ammoType2 = 5.56x45mm | |||
}} | |||
Text Example: 15 Rounds of 9x19mm to 5.56x45mm<br> | |||
{{AmmoExchange | |||
|amountOfAmmo = 12 | |||
|ammoType1 = 9x19mm | |||
|ammoType2 = .44 Mag | |||
}} | |||
Text Example: 35 Rounds of 7.62x39mm to 5.56x45mm<br> | |||
{{AmmoExchange | |||
|amountOfAmmo = 35 | |||
|ammoType1 = 7.62x39mm | |||
|ammoType2 = 5.56x45mm | |||
}} | |||
Text Example: 65000 Rounds of .44 Mag to 9x19mm<br> | |||
{{AmmoExchange | |||
|amountOfAmmo = 65000 | |||
|ammoType1 = .44 Mag | |||
|ammoType2 = 9x19mm | |||
}} |
Latest revision as of 23:01, 27 October 2022
Floor(a—c) × b = Converted Ammo
(a—b) × b % c = Remainder Ammo
When converting between 5.56x45mm & 7.62x39mm, do not use the "floor" function.
A = Amount of ammo in the input
B = The "exchange value" of the ammo in the input
C = The "exchange value" of the ammo in the output
% = Modulo Operator (or in other words, the remainder after dividing)
Exchange Values
- 9x19mm = 2
- 5.56x45mm = 3
- 7.62x39mm = 3
- 12/70 Buckshot = 5
- .44 Mag = 7
Text Example: 8 Rounds of 9x19mm to 5.56x45mm
5.56x45mm (4 rounds)
9x19mm (2 rounds)
Text Example: 15 Rounds of 9x19mm to 5.56x45mm
.44 Mag (2 rounds)
9x19mm (5 rounds)
Text Example: 35 Rounds of 7.62x39mm to 5.56x45mm
5.56x45mm (35 rounds)
Text Example: 65000 Rounds of .44 Mag to 9x19mm
9x19mm (227500 rounds)
Hidden category:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
- This page was last edited on 27 October 2022, at 23:01.
- Content is available under CC BY-SA 3.0 unless otherwise noted.
- Privacy policy
- About SCP: Secret Laboratory English Official Wiki
- Disclaimers