the method is "min", but you can only pass two parameters. For 4 numbers, you need to combine 3 min-Methods:
freelance simulation specialist
I would use the function min, which returns the smaller of two values.
a := z_uniform(1,0,10);
b := z_uniform(1,0,10);
c := z_uniform(1,0,10);
d := z_uniform(1,0,10);
m := min(min(a,b), min(c,d));
print a, " ", b, " ", c, " ", d, " min=", m;
Is it possible to find the "min" of a Date in a tablefile?
Say I have a column with three dates as follows:
How would I find the "smallest" date (2003/03/25) from that column?
the table has a method min which you can use.
Just have a look in the online documention how to use it.
Do you mean the function TableFile.min() ? This function unfortunately only accepts integers and real as input parameters but not dates without time.