Thread: Absolute Value?
View Single Post
  #1  
Old 08-16-2012, 04:12 AM
Alpho Alpho is offline
Registered User
Alpho's Avatar
Join Date: Dec 2011
Location: California, USA
Posts: 80
Alpho will become famous soon enough
Absolute Value?

Hey all, i've been trying to figure out what the function is, if we even have any, for finding the 'absolute value' of an integer.
PHP Code:
echo(|-10|); 
should return 10 if it's working correctly.

Thanks!
Reply With Quote