Thread
:
Determining the smallest of a group of variables.
View Single Post
#
1
12-16-2007, 02:06 AM
DustyPorViva
Will work for food. Maybe
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
PHP Code:
temp
.
lowest
=
999999
;
for (
i
:
temp
.array) {
if (
i
<
temp
.
lowest
)
temp
.
lowest
=
i
;
}
temp.lowest=lowest number
This what you looking for?
DustyPorViva
View Public Profile
View GraalOnline Profile
Find all posts by DustyPorViva