PHP Math鍑芥暟鍒楄〃

abs - 缁濆鍊
acos - 鍙嶄綑寮
acosh - 鍙嶅弻鏇蹭綑寮
asin - 鍙嶆寮
asinh - 鍙嶅弻鏇叉寮
atan - 鍙嶆鍒
atan2 - 涓や釜鍙傛暟鐨勫弽姝e垏
atanh - 鍙嶅弻鏇叉鍒
base_convert - 鍦ㄤ换鎰忚繘鍒朵箣闂磋浆鎹㈡暟瀛
bindec - 浜岃繘鍒惰浆鎹负鍗佽繘鍒
ceil - 杩涗竴娉曞彇鏁
cos - 浣欏鸡
cosh - 鍙屾洸浣欏鸡
decbin - 鍗佽繘鍒惰浆鎹负浜岃繘鍒
dechex - 鍗佽繘鍒惰浆鎹负鍗佸叚杩涘埗
decoct - 鍗佽繘鍒惰浆鎹负鍏繘鍒
deg2rad - 灏嗚搴﹁浆鎹负寮у害
exp - 璁$畻 e 鐨勬寚鏁
expm1 - 杩斿洖 exp(number)1锛岀敋鑷冲綋 number 鐨勫兼帴杩戦浂涔熻兘璁$畻鍑哄噯纭粨鏋
floor - 鑸嶅幓娉曞彇鏁
fmod - 杩斿洖闄ゆ硶鐨勬诞鐐规暟浣欐暟
getrandmax - 鏄剧ず闅忔満鏁版渶澶х殑鍙兘鍊
hexdec - 鍗佸叚杩涘埗杞崲涓哄崄杩涘埗
hypot - 璁$畻涓鐩磋涓夎褰㈢殑鏂滆竟闀垮害
is_finite - 鍒ゆ柇鏄惁涓烘湁闄愬
is_infinite - 鍒ゆ柇鏄惁涓烘棤闄愬
is_nan - 鍒ゆ柇鏄惁涓哄悎娉曟暟鍊
lcg_value - 缁勫悎绾挎у悓浣欏彂鐢熷櫒
log - 鑷劧瀵规暟
log10 - 浠 10 涓哄簳鐨勫鏁
log1p - 杩斿洖 log(1 + number)锛岀敋鑷冲綋 number 鐨勫兼帴杩戦浂涔熻兘璁$畻鍑哄噯纭粨鏋
max - 鎵惧嚭鏈澶у
min - 鎵惧嚭鏈灏忓
mt_getrandmax - 鏄剧ず闅忔満鏁扮殑鏈澶у彲鑳藉
mt_rand - 鐢熸垚鏇村ソ鐨勯殢鏈烘暟
mt_srand - 鎾笅涓涓洿濂界殑闅忔満鏁板彂鐢熷櫒绉嶅瓙
octdec - 鍏繘鍒惰浆鎹负鍗佽繘鍒
pi - 寰楀埌鍦嗗懆鐜囧
pow - 鎸囨暟琛ㄨ揪寮
rad2deg - 灏嗗姬搴︽暟杞崲涓虹浉搴旂殑瑙掑害鏁
rand - 浜х敓涓涓殢鏈烘暣鏁
round - 瀵规诞鐐规暟杩涜鍥涜垗浜斿叆
sin - 姝e鸡
sinh - 鍙屾洸姝e鸡
sqrt - 骞虫柟鏍
srand - 鎾笅闅忔満鏁板彂鐢熷櫒绉嶅瓙
tan - 姝e垏
tanh - 鍙屾洸姝e垏

浠ヤ笂灏辨槸PHP Math鍑芥暟鍒楄〃鐨勮缁嗗唴瀹癸紝鏇村淇℃伅璇峰叧娉∣D浜戝叾瀹冪浉鍏虫枃绔狅紒



鏈枃URL锛http://www.odweb.cn/news_show.html?id=123