UNPKG

int.engine

Version:

**int.engine** <br> **Welcome to int.engine, the easy int parsing tool**

46 lines (37 loc) 1.28 kB
**int.engine** <br> **Welcome to int.engine, the easy int parsing tool** Requiring the module: ```js const Engine = require('int.engine') ``` **Smart Sum** - Easy and intelligent integer parsing! <br> Please note, **Smart Sum** is the main point of this module, so be aware! <br> How does **Smart Sum** work, here is an example: ```js const Smart = new Engine.Engine() ``` If you did something along the lines of: ```js Smart.subtract(25,50) ``` It would minus 25 from 50, however, this is where **Smart Sum** becomes apparent, here is another example: ```js Smart.subtract(50,25) ``` This would subtract 25 from 50, and that is the main point of **Smart Sum** - Making sum's easier. This also works for dividing! Algebra === **int.engine** uses the power of **this.db** to save algebra values to tables via the process - In other words you can set and get algebra variables using **X**,**Y** and **Z** (Lower Case)! Example usage: ```js new Engine.Algebra().save("ID",x,y,z) ``` How would you get variables? Simple as: ```js new Engine.Algebra().get("ID")["x,y,z"] //Replace the string inside [] with your key ``` So over all, why use **int.engine** - Use **int.engine** for easy integer parsing! I hope this helps you!