From SCP: Secret Laboratory English Official Wiki

No edit summary
No edit summary
Line 2: Line 2:
{{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>
{{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>


{{#expr: 8/3 * 2}}
 


{{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>

Revision as of 22:00, 27 October 2022

5.56x45mm (10 rounds)


Floor(ac) × b = Converted Ammo

(ab) × b % c = Remainder Ammo

This formula does not work when converting 5.56x45mm to 7.62x39mm. As they are always a 1:1 conversion.

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)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.