Forums

Calculate a quota

FrankH 10 Sep, 2021
I have a table showing statistics. I figured out two numbers. Now I want to add the quota to the table. How can I calculate the quota:
Number of games: 12
Wins: 6
Quota: "Wins" / "Number of Games" = 0.5
I have:
Number of Games: Read Data: {maca}
Wins: Read Data: {macg}
How can I calculate the quota? {Quota} = {maca} / {macg}
Data Builder 2?
PHP?
Java?
Can I use a function or a view?
webbusteruk 22 Nov, 2021
I generally do all my calculations using PHP. You can code in PHP in either function (PHP) or view (HTML).
You need to login to be able to post a reply.