Hi, as I'd read those help files, the only function to find the minimum value is "math.min", but however the using method is "math.min(v1,v2,v3,v4)", I wanna ask that how to apply this function or any other method to calculate in table?
Case:
a = {"6","5","3","2","8"}
how to get "b = 2" since 2 is the minimum value in the table?
# the value numbers of table is not fixed, maybe sometime up to over 100 values, so cannot put in hard code.
Case:
a = {"6","5","3","2","8"}
how to get "b = 2" since 2 is the minimum value in the table?
# the value numbers of table is not fixed, maybe sometime up to over 100 values, so cannot put in hard code.