Home - AustinGitHub/Programming-Functions GitHub Wiki

Welcome to the Functions Wiki!

To use, just add the Functions file to your project folder and then in your project

Rounding and Significant figures are based on the programming language sometimes. For example, JS .toPrecision(2) will give back 1.00 but in Python the round() function will only return back the necessary amount of values. Instead of 1.00 we get 1.0 because that extra zero is not needed.

Python

Simply add the function file that you need to your project. In your main file of your project do from 'name of file' import * if you want all the functions.

If you don't want all the functions, simply do import 'file name' so when you need to call a function you will need to do 'function file name'.functionName

JavaScript

Simply add the function file that you need to your project. In your main web file or header file, add <script type='text/javascript' src='FunctionFileName.js'></script>. You will have to do this for each function file name. Although this may seem tedious, JavaScript doesn't take a lot of space in our folder, so it's very common to see most JS files have hundreds of functions (depending on the usage). For this project, we will separate them into their own files to make it easier.

⚠️ **GitHub.com Fallback** ⚠️