ฟังก์ชัน rand() สุ่มตัวเลข ด้วยฟังก์ชัน rand() ฟังก์ชัน rand() จะ return ค่าตัวเลขออกมา ใช้ฟังก์ชันแบบไม่ใส่พารามิเตอร์ จะได้ค่าตัวเลขสุ่ม...


ฟังก์ชัน rand() สุ่มตัวเลข ด้วยฟังก์ชัน rand() ฟังก์ชัน rand() จะ return ค่าตัวเลขออกมา ใช้ฟังก์ชันแบบไม่ใส่พารามิเตอร์ จะได้ค่าตัวเลขสุ่ม...
ฟังก์ชัน bcpowmod() หาค่ายกกำลังแล้วหารเอาแต่เศษ ด้วยฟังก์ชัน bcpowmod() รูปแบบ string bcpow ( string $ left_operand , string $ right_ope...
ฟังก์ชัน bcscale() กำหนดจุดทศนิยม ด้วยฟังก์ชัน bcscale() รูปแบบ string bcscale ( int $ scale ) $ scale คือ จำนวนจุดทศนิยม ตัวอย่าง <?...
ฟังก์ชัน bcsqrt() หาค่า square root ด้วยฟังก์ชัน bcsqrt() รูปแบบ string bcsqrt ( string $ operand , int $ scale ) $ operand คือ ตัวเลขท...
ฟังก์ชัน bcpow() หาค่ายกกำลัง ด้วยฟังก์ชัน bcpow() รูปแบบ string bcpow ( string $ left_operand , string $ right_operand , int $ scale )...
ฟังก์ชัน bccomp() เปรียบเทียบเลข ด้วยฟังก์ชัน bccomp() รูปแบบ string bccomp ( string $ left_operand , string $ right_operand , int $ sca...
ฟังก์ชัน bcmod() หารเอาแต่เศษ ด้วยฟังก์ชัน bcmod() รูปแบบ string bcmod ( string $ left_operand , string $ modulus ) $ left_operand คือ ...