plugin:tablemath
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:tablemath [2015-11-14 19:05] – [Table] 2003:6b:1d03:d501:a9ea:f767:7feb:5ea5 | plugin:tablemath [2023-12-16 23:21] (current) – new download url Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== tablemath | + | ====== tablemath |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
email : guanfenglin@gmail.com | email : guanfenglin@gmail.com | ||
type : syntax | type : syntax | ||
- | lastupdate : 2009-08-23 | + | lastupdate : 2009-08-24 |
- | compatible : | + | compatible : !Igor |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
tags : math, tables calculation | tags : math, tables calculation | ||
- | ---- | ||
- | <note info> | + | downloadurl: |
+ | bugtracker : | ||
+ | sourcerepo : | ||
+ | donationurl: | ||
+ | |||
+ | screenshot_img: | ||
+ | ---- | ||
- | ====Donation==== | + | > //There are significant changes to the previous version, please look at the [[#usage]] section for new syntax.// |
- | {{http:// | ||
===== Installation ===== | ===== Installation ===== | ||
- | - create a foler named " | + | - create a folder |
- create 2 files named " | - create 2 files named " | ||
<code php syntax.php> | <code php syntax.php> | ||
<?php | <?php | ||
- | // must be run within | + | // must be run within |
if(!defined(' | if(!defined(' | ||
Line 45: | Line 49: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
' | ' | ||
' | ' | ||
- | ' | + | ' |
); | ); | ||
} | } | ||
Line 89: | Line 93: | ||
} | } | ||
- | ?> | ||
</ | </ | ||
Line 167: | Line 170: | ||
===== Usage ===== | ===== Usage ===== | ||
- | put the syntax into the desired column at the last row of the table. | + | |
+ | Put the syntax into the desired column at the last row of the table. | ||
< | < | ||
Line 177: | Line 181: | ||
|avg|calculate the average value of defined set| | |avg|calculate the average value of defined set| | ||
- | Range set eg.1,1:2,2 | + | Range set e.g. '' |
defines the range in table you want your calculation method should apply to | defines the range in table you want your calculation method should apply to | ||
| 0,0 | 1,0 | 2,0 | | | 0,0 | 1,0 | 2,0 | | ||
- | | 0,1 | 1,1 | 3 | + | | 0,1 | 1,1 | 2, |
| 0,2 | 1,2 | 2,2 | | | 0,2 | 1,2 | 2,2 | | ||
- | ====Example==== | + | ==== Example ==== |
< | < | ||
- | ^header1^header2^header3^Average| | + | ^ header1 ^ header2 ^ header3 ^ Average |
- | |A|1|2|~~=avg(1, | + | | A |
- | |B|2|3|~~=avg(1, | + | | B |
- | |C|3|4|~~=avg(1, | + | | C |
- | |Total|~~=sum(1, | + | | Total |
</ | </ | ||
- | |||
- | |||
===== Limitations ===== | ===== Limitations ===== | ||
- | | + | |
+ | | ||
===== Feedback ===== | ===== Feedback ===== | ||
- | Please check if the calculations work with decimal points | + | Please check if the calculations work with decimal points |
/alwin kumar Thu Mar 18 2010/ | /alwin kumar Thu Mar 18 2010/ |
plugin/tablemath.1447524345.txt.gz · Last modified: 2015-11-14 19:05 by 2003:6b:1d03:d501:a9ea:f767:7feb:5ea5