CalcBuilder Forum

Some values are incorrect?

User moon_453 2012-04-27 15:27:57

Ok I have no idea what I am doing wrong. I have been working on this for awhile and it is getting annoying. There is NO preview button so I have to keep going back into the website to view if its working.

Variable ap1 is number default at 500
Variable nb1 is number default is 10% or .1
Variable num1 is number NO default




This results in some values are incorrect??

User moon_453 2012-04-27 15:32:01

Can the math be done with out having a field set up.

Such as $resultA=$num1+$num2; Then $sum=$resultA*10%

So it never shows $resultA and there is no variable for it? Only num1 and num2


Moonsoft support 2012-04-27 17:34:41


If you see "some values are incorrect" message, maybe the issue is not in code. Please check in Preferences section inside calculator in Backend; Frontend Number format -> Decimal and Thousand parameters are correctly set.

Hope this helps,

Moonsoft support 2012-04-27 17:39:39


You can add/use new variables in code without a field created.

Although, you must note this is not correct:


Maybe this should be



Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!

Create dynamic calculators

Buy now!