Daya Bay Reactor Neutrino Experiment
TWiki > VarCALC (1 vs. 2)
Daya Bay webs: Public | 中文 | Internal | Help   Log In or Register

Welcome | Register | Changes | Topics | Index | Search | Go
 <<O>>  Difference Topic VarCALC (2 - 2007-06-03 - TWikiContributor)
Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

CALC{"formula"} -- add spreadsheet calculations to tables and outside tables


 <<O>>  Difference Topic VarCALC (1 - 2007-06-03 - PeterThoeny)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

CALC{"formula"} -- add spreadsheet calculations to tables and outside tables

  • The %CALC{"formula"}% variable is handled by the SpreadSheetPlugin. There are around 80 formulae, such as $ABS(), $EXACT(), $EXISTS(), $GET()/$SET(), $IF(), $LOG(), $LOWER(), $PERCENTILE(), $TIME(), $VALUE().
  • Syntax: %CALC{"formula"}%
  • Examples:
    • %CALC{"$SUM($ABOVE())"}% returns the sum of all cells above the current cell
    • %CALC{"$EXISTS(Web.SomeTopic)"}% returns 1 if the topic exists
    • %CALC{"$UPPER(Collaboration)"}% returns COLLABORATION
  • Related: IF, SpreadSheetPlugin

View | History: r6 < r5 < r4 < r3 | More

View | History: r6 < r5 < r4 < r3 | More
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarCALC.