formula formater?

I'm trying to get this formula to work but I dont even know how to format it correctly. is there a toll or program to help me create formulas? this is what I'm trying to get to work [(a.atk - b.def) / 5] x 1.1
Try:

((a.atk-b.def)/5)*1.1
Try:

((a.atk-b.def)/5)*1.1
worked perfectly. thanks!
In computer programming, different bracket have different funtions - you can't mix [] (which is for arrays) into regular formula, those use only ().
Also, that's going to result in a floating point damage amount.  You want to do this:

Code:
parseInt((a.atk - b.def)/5*1.1)

Original thread: https://forums.rpgmakerweb.com/threads/formula-formater.46656/