★ wanayoo — archive 1999 http://www.php.net/manual/function.abs.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Math.
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Math.
* abs
* acos
* asin
* atan
* atan2
* base_convert
* bindec
* ceil
* cos
* decbin
* dechex
* decoct
* deg2rad
* exp
* floor
* getrandmax
* hexdec
* log
* log10
* max
* min
* mt_rand
* mt_srand
* mt_getrandmax
* number_format
* octdec
* pi
* pow
* rad2deg
* rand
* round
* sin
* sqrt
* srand
* tan
Manual: abs
View the source code for this pageSearch the site



Previous page
 Math.
 Updated
Sat, 12 Aug 2000
acos 
Next page


abs

(PHP3 , PHP4 )

abs -- Absolute value

Description

mixed abs (mixed number)

Returns the absolute value of number. If the argument number is float, return type is also float, otherwise it is int.


User Contributed Notes: abs


sourcey@postmaster.co.uk
02-Aug-2000 09:46
so this is not like abs in c++ where you *could* write to direct locations on say a hard drive etc :P those were the days eh :)


 About Notes


Previous page
 Math.
 Updated
Sat, 12 Aug 2000
acos 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.