Thread
:
Determining the smallest of a group of variables.
View Single Post
#
8
12-16-2007, 02:23 AM
Kyranki
Freelance Coder
Join Date: Aug 2007
Location: At the end of the rainbow, in the pot of gold.
Posts: 202
Quote:
Originally Posted by
DustyPorViva
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?
Then this is what you're looking for.
__________________
Stan.
Kyranki
View Public Profile
View GraalOnline Profile
Find all posts by Kyranki