There may be times where you want to display a goal but also include a number of things that have been funded.

For example, $50 might each the ability to purchase 1 hectare of land and the goal might be to fund $500 hectares.

You may then what for example a live counter on the screen that displays the number of hectares that have been funded to date. Using {{{bar.raised}}} or {{{bar.percent}}} does not help here as this counts up in dollar values and gives you a percent raised (still useful but does not meet the overall objective).

Hence why we have come up with

{{{round (divide bar.raised xx)}}} where xx is for example 50 in this example. So if a hectare of land cost $70 it would be

{{{round (divide bar.raised 70)}}}

This will provide you with a number (rounded to the nearest whole number) in the example above.

If you want to actually show the number in decimal places i.e. 11.7 hectares of land that had been funded to donate you would need to use

{{{divide bar.raised xx}}} where again xx is the amount that it takes to fund one thing.

## Comments

0 comments

Please sign in to leave a comment.