วันพุธที่ 30 เมษายน พ.ศ. 2557
ฟังก์ชัน rand()

10:36

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

อ่านเพิ่มเติม »
ฟังก์ชัน bcpowmod()

10:33

ฟังก์ชัน  bcpowmod() หาค่ายกกำลังแล้วหารเอาแต่เศษ ด้วยฟังก์ชัน  bcpowmod() รูปแบบ string bcpow ( string $ left_operand  , string $ right_ope...

อ่านเพิ่มเติม »
ฟังก์ชัน bcscale()

10:33

ฟังก์ชัน  bcscale() กำหนดจุดทศนิยม ด้วยฟังก์ชัน  bcscale() รูปแบบ string bcscale ( int $ scale  ) $ scale  คือ จำนวนจุดทศนิยม ตัวอย่าง <?...

อ่านเพิ่มเติม »
ฟังก์ชัน bcsqrt()

10:32

ฟังก์ชัน  bcsqrt() หาค่า square root ด้วยฟังก์ชัน  bcsqrt() รูปแบบ string bcsqrt ( string $ operand  , int $ scale  ) $ operand  คือ ตัวเลขท...

อ่านเพิ่มเติม »
ฟังก์ชัน bcpow()

10:31

ฟังก์ชัน  bcpow() หาค่ายกกำลัง ด้วยฟังก์ชัน  bcpow() รูปแบบ string bcpow ( string $ left_operand  , string $ right_operand  , int $ scale  )...

อ่านเพิ่มเติม »
ฟังก์ชัน bccomp()

10:30

ฟังก์ชัน  bccomp() เปรียบเทียบเลข ด้วยฟังก์ชัน  bccomp() รูปแบบ string bccomp ( string $ left_operand  , string $ right_operand  , int $ sca...

อ่านเพิ่มเติม »
ฟังก์ชัน bcmod()

10:29

ฟังก์ชัน  bcmod() หารเอาแต่เศษ ด้วยฟังก์ชัน  bcmod() รูปแบบ string bcmod ( string $ left_operand  , string $ modulus  ) $ left_operand  คือ ...

อ่านเพิ่มเติม »