CalcBuilder Forum

$ OR "Dollar Symbol" and others...

User moon_664 2012-08-28 19:44:40

Can the results table have a $ sign in front of certain fields and % in front of others?

Moonsoft support 2012-08-28 22:41:34

Hello,
yes, at the result section you can include any information needed, together with the results. You can just write $ ##myresult1## or % ##myresult1## at the output to show your variables with the right symbols.
Other option is build the result at the code section and include the sign there, so, when all calculations are done, at the code section you could write:

$myresult1="$".$myresult1;

or

$myresult1="%".$myresult1;


Hope this helps

User moon_664 2012-08-29 04:40:01

Thanks
That worked awesome

...
Support/development 40 hours

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

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!