Finding if an integer number is negative or positi

# Thread: Finding if an integer number is negative or positi

1. Senior Member
Join Date
Dec 1969
Posts
1,100

## Finding if an integer number is negative or positi

How can I find out in ASP?<BR><BR>Thanks,<BR>Mircea

2. God
Senior Member
Join Date
Dec 1969
Posts
18,177

## You've GOT to be kidding, right? (eop)

.

3. Senior Member
Join Date
Dec 1969
Posts
1,100

## RE: You've GOT to be kidding, right? (eop)

:))...some little humour doesn&#039;t hurt, right? :)

4. Junior Member
Join Date
Dec 1969
Posts
20

## RE: Finding if an integer number is negative or po

First take whatever number you have lets call it X. Now we make X into a string. X = X & "" Now from here we split the string into chars to form an array. ary[i]. next we divide each element of the char array by pi, this will eleminate all free floating radicals. From there it&#039;s a simple for loop and if statement<BR><BR>for(i=0 to ary.length)<BR> if(ary[i] = chocolate pudding) Then<BR> Response.Write("HURRAY for PUDDING!")<BR> End If<BR>next<BR><BR>and that is now we make numbers into pudding.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•