- Speedcrunch strings how to#
- Speedcrunch strings mod#
- Speedcrunch strings upgrade#
- Speedcrunch strings code#
- Speedcrunch strings windows#
Simple and mixed fractions: 4 / 6 * 2 = 1.333.Exact or approximate: sqrt(32) returns 4 * sqrt(2) or 5.66.Many customization options: precision, max/min decimals, complex form, multiplication sign, etc.Matrices and vectors, and related operations (determinants etc.).when you do not want (a+b)^2 to mean (are+barn)^2 but ("a"+"b")^2 Ability to disable functions, variables, units or unknown variables for less confusion: e.g.Supports all common number bases, as well as negative and non-integer radices, sexagesimal numbers, time format, and roman numerals.Expressions may contain any combination of numbers, functions, units, variables, vectors and matrices, and dates.Fault-tolerant parsing of strings: log 5 / 2.
Speedcrunch strings mod#
Speedcrunch strings code#
Or get up from their desk or scuffle through a drawer!Īll in all, It was at first made for me to use so people playing the game (people with no access to code and the like) could use an interface to do calculations with. They don't have to alt-tab to use a calculator.
Speedcrunch strings how to#
I still don't know how to operate that thing, and I find it difficult to use the powers and logarithmic operators on those things.Īnd I would add it to my future games so that way when the users are in fullscreen and want to do a little bit of calculating.
Speedcrunch strings windows#
Fantastic alternative to the calculator that windows comes with. I wanted them to be able to either type in a keyword like mybank or click an "account balance" button or something and it would add that into formula. So someone can while in game, use a calculator that's lightweight and nice. To be honest, I created this calculator to use for a GUI calculator in my games. If you have suggestions on what to add, let me know!Ĭode: Select all player.offsetx + player.x * player.dx
Speedcrunch strings upgrade#
Follows the SqPFEMMoDSA rule, an Upgrade of the PEMDAS that I totally made up.if error occurs, value is nil), Success (Boolean: true if successful), and Message (String: nil if successful, is the error message if an error occurs) The function now returns 3 variables: Value (String: The answer. The algorithm will get rid of them anyway.
To use the factorial, just put a "!" after the number, or parenthesis you'd like to be factorialized To use the square root, simply put what you want square rooted around parenthesis with the prefix "sq"
To put variables into the formula simply use the "." functionality, you should be familiar with this one. This means that "5 + 2(8)" will not work. ĭo keep in mind that between each operation requires an operator (+-*/^). Pretty easy to use, Simply insert your formula as a string as the first argument in the calculate function. a Löve Version 0.9.1 calculate algorithm v1.3.0 by alias: "Zilarrezko" (3.85 KiB) Downloaded 116 times The Manual: