Was this page helpful?

List.Sum

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    list.Sum(list : list) : num 

    Get sum of values in list.

    Usage Restrictions

    8.08 or later

    Parameters

    Name Type Description
    list list The list value.

           

    Result

    the sum of the list elements

    Samples

            Output

    Calculate the sum of the list elements:

    {{ list.sum([1,2,4]) }} 

           

    7

           

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by