CalcBuilder Forum

Creating a Commissions Calculator

User moon_453 2012-04-25 21:54:53

How do I create a calculator that is already set up in excel? Don't know php

Moonsoft support 2012-04-26 09:36:01

Hello,
if you have your math already defined, you have to create as many inputs as you need, and copy the formulas at the code section. You don't need to write complex php, just to follow it's sintax to write down the calculations. For example, if you have this operation to be done:

result=input1+input2

the expresion for calcbuilder is the same, adding a ; at the end of each line, and a $ preceding each variable, this way:

$result=$input1+$input2;


We suggest to check the set of examples of the downloads section, you can start with 'first steps' calculator to understand how input, calculations and output should be defined and follow the rest of examples of increasing complexity.

Also note we have a custom calculator service you can request, and we'd send you the calculator ready to import and publish at your calcbuilder.


Best regards,

...
CalcBuilder

Create dynamic calculators

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!