CalcBuilder Forum

negative number

User moon_681 2012-09-04 00:14:27


I'm trying to do a calculator, and all it's ok, but the only problem that I have, is when I try to write a negative number, in this case, the program says that I need to put a correct number (with a positive number, function correctly). Does someone knows what could it be the problem??
thanks in advance!

Moonsoft support 2012-09-04 11:02:45

the form validator is ready to understand negative numbers, please check you have set properly at 'preferences tab' of your calculator your decimal/thousand separator.

However, we've checked when launching number of decimals validation, the negative sign is missing. In order to solve this issue, you have to modify the validator, please edit this file:


and replace this line (267):


adding the '-' preffix, this way:


We have included the fix for next release.

Hope this helps, regards

User moon_681 2012-09-04 17:17:54

ok, now functions perfectly, adding the prefix !!

Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
List Manager

Build different lists for your site

Buy now!