TF2 Metal Calculator

A Modding Tool for Team Fortress 2

Updates

ToolParentSubmitterStats
  • Addition Support cli arguments
  • Adjustment Error messages format
Version 1.1.1 5mo

TF2 Metal Calculator in Command Line

1. TF2 Metal Calculator

OK, this is an offline command-line calculator, you can use this to calculate TF2 metals: Refined, Reclaimed and Scrap.

1.1. Usage

  • Use ref, rec, scrap and wep as metal unit.
  • Write metals together when calculating sum: 1.22ref2rec7wep
  • Write math expression: (2.33ref1rec * 3 + 3scrap) / 2
  • The answer is rounded to two decimals.
  • You can pass expressions to this tool as command-line arguments.

1.2. Why use this?

1.2.1. It support more complex expression

1.2.2. It can do batch operation

1.2.3. Its answers are accurate

Let's test 7.88ref * 3:


TF2 Metal Calc: Accurate


Windows 10 Calc: Inaccurate

Yes, a normal calculator can't calc TF2 metals accurately... If you try 7.88ref * 100, the answers will be totally different.

1.3. Source Code

This is also a Python library! It provide a class called Metal, use such code to import:
from tf2ref import Metal
Read the code for more information, and feel free to use it in your program under GPLv3 License.
Link
Sign up to access this!

Files

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Authors
deluxghost

Submitter

deluxghost avatar
deluxghost Joined 2y ago
Offline
458 points Ranked 10676th

deluxghost
Creator
  • Paypal Donate
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

GPLv3

Details

Attributes

IDE Used
Visual Studio Code
Development State
Beta
Compiled Language
Python
Operating System
Windows
Genre
Coding/Scripting

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 53 DLs
  • 1.2k Views
  • 8 Posts
  • 5moSubmitted
  • 5moModified
  • 5moUpdated

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

More Other/Misc Tools

bcp.crwdcntrl.net tracking pixel