Can you perform math inside a template?

1 posts, 0 answers
  1. Mike
    Mike avatar
    21 posts
    Member since:
    Mar 2012

    Posted 20 Apr 2012 Link to this post

    // Disregard, I figured it out...//

    I have a template that is being loaded via a JSON file.  My JSON file contains data I would like to use to set CSS parameters in the rendered html.  

    Is it possible to have a function inside the template that performs a calculation on the JSON data and them uses the result to modify a CSS parameter?
Back to Top