i'm usiging dokuwiki for two days ago. i have installed the follow plugins:
tablecalc and wrap.
my problem in tablecalc: the formulas are very long. can i make the formulas shorter?
here the code that i use
^{{gerald:auto:nkcm149:toyota_Yaris_hybrid.png?x40}} ^2017 | ||||||
^Eingaben ^^^^^Berechnungen ^^^
^Datum ^mileage in kilometers ^^Liter\\ refueld ^Price\\ total ^km since\\refuel ^Liter for\\ 100 km ^Price for\\ one Liter ^
^::: ^old ^new ^::: ^::: ^::: ^::: ^:::^
|13.12.2017| 41168| 41704| 30.00| 39.24| **~~=cell(2,row())-cell(1,row())~~**| **~~=round((cell(3,row())*100)/cell(5,row());2)~~**| **~~=round(cell(4,row())/cell(3,row());3)~~**
|
formula one: calculate how long was the trip
formula two:calculate how many liters gasoline i have need on 100 kilometers
formula three:calculate the price for one liter of gasoline``