How to calculate the median?

I have created a Basic Metabolism calculator on one page that counts it with 10 official scientific mathematical formulas. Everything works fine. The user gets 10 different results.
I would like to be able to calculate the median of these results.
I don’t know how to prepare it. I don’t know anything about it at all. I am a beginner.
Can you help?


Where are the results located? In a Repeating group? Basically you’d need to reference the 10 results as a list and use the :median operator (Operators & Comparisons - Bubble Docs)

Learn bubble →

The results (10 results) appear on a regular basis for a specific person, after entering their data (weight, height, age).
I just can’t write these 10 results as a list so I can calculate the median of it.

Where are they stored? In the DB?

I do not know. I am a beginner. The calculation results of these 10 formulas are shown in real time when someone enters their weight, height and age. It doesn’t save anywhere, I guess. These results appear temporarily for a specific person and their data. Then I don’t write it anywhere.
I do not know how to explain it

This topic was automatically closed after 70 days. New replies are no longer allowed.