-
-
DevelopPlus.net
ขายสคริปต์เว็บไซต์ลงประกาศสินค้า
-
SiamACT.com
เวปไซต์ที่ให้คุณโฆษณาตนเอง
ขายสคริปต์เว็บไซต์ลงประกาศสินค้า
หากว่าคุณต้องการมีเว็บไซต์ลงประกาศสินค้าเป็นของตนเอง
แต่ว่าคุณไม่มความรู้เรื่องการติดตั้งเว็บ ไม่อยากเช่า hosting
โปรดติดต่อมาหาเรา ทางเราจะให้บริการปัญหาเหล่านี้กับท่าน
เวปไซต์ที่ให้คุณโฆษณาตนเอง
SiamACT.com เป็นเวปไซต์ที่ให้คุณสามารถโปรโมท หรือโฆษณาตนเองได้ตามต้องการ
หากคุณมีวิดีโอเกี่ยวกับตัวคุณอยู่แล้วใน YouTube.com และต้องการโฆษณาให้เป็นที่แพร่หลาย
SiamACT.com จะเป็นสื่อกลางของวิดีโอคลิบเหล่านี้
-
-
-
function:is_nan ( number );
return type:boolean
content:ใช้ตรวจสอบว่าข้อมูลไม่เป็นชนิดตัวเลขใช่หรือไม่
( nan ย่อมาจาก not a number )
example:if ( is_nan ( 100 ) )
{
echo "not a number";
}
-
function:is_finite ( number );
return type:boolean
content:ใช้ตรวจสอบว่าข้อมูลมีขอบเขตจำกัดใช่หรือไม่
example:if ( is_finite ( log(0) ) )
{
echo "this number is limit";
}
-
function:is_infinite ( number );
return type:boolean
content:ใช้ตรวจสอบว่าข้อมูลมีขอบเขตไม่จำกัดใช่หรือไม่
example:if ( is_infinite ( log(0) ) )
{
echo "this number is not limit";
}
-
function:pi ();
return type:double
content:คืนค่า pi คือ 3.14159265359
example:echo pi();
-
function:abs ( number );
return type:int
content:ใช้หาค่าสัมบูรณ์
example:echo abs ( -10.5 );
-
function:sqrt ( number );
return type:float
content:ใช้หาค่ารากที่ 2
example:echo sqrt ( 100 );
-
function:pow ( base, exp );
return type:float
content:ใช้หาค่ายกกำลัง
example:echo pow ( 2, 3 );
-
function:exp ( number );
return type:float
content:ใช้หาค่า e ยกกำลัง number
example:echo exp ( 3 );
-
function:fmod ( number1, number2 );
return type:float
content:ใช้หาค่าเศษที่เหลือจากการหาร
มีผลเหมือนกับ number1 / number2
example:echo fmod ( 5, 3 );
-
function:round ( number );
return type:double
content:ใช้ปัดเศษทศนิยม ถ้าน้อยกว่า 4 จะปัดลง และถ้ามากกว่าหรือเท่ากับ 5 จะปัดขึ้น
example:echo round ( 2.4 );
-
function:ceil ( number );
return type:int
content:ใช้ปัดเศษทศนิยมให้มีค่ามากขึ้น
example:echo ceil ( 2.1 );
-
function:floor ( number );
return type:int
content:ใช้ปัดเศษทศนิยมให้มีค่าน้อยลง
example:echo floor ( 2.9 );
-
function:min ( array_number );
return type:string
content:ใช้หาค่าที่น้อยที่สุดใน array
example:$arr = array ( "A", "B", "b", "a" );
echo min ( $arr );
comment:ถ้าเป็นตัวอักษรจะเทียบตามรหัส ascii
-
function:min ( number1, number2, .., numbern );
return type:string
content:ใช้หาค่าที่น้อยที่สุดในจากตัวเลขที่กำหนด
example:echo min ( "A", "B", "b", "a" );
comment:ถ้าเป็นตัวอักษรจะเทียบตามรหัส ascii
-
function:max ( array_number );
return type:string
content:ใช้หาค่าที่มากที่สุดใน array
example:$arr = array ( "A", "B", "b", "a" );
echo max ( $arr );
comment:ถ้าเป็นตัวอักษรจะเทียบตามรหัส ascii
-
function:max ( number1, number2, .., numbern );
return type:string
content:ใช้หาค่าที่มากที่สุดในจากตัวเลขที่กำหนด
example:echo max ( "A", "B", "b", "a" );
comment:ถ้าเป็นตัวอักษรจะเทียบตามรหัส ascii
-
function:log ( number );
return type:float
content:ใช้หาค่า ล็อกการิทึมธรรมชาติ
example:echo log ( 1 );
-
function:log10 ( number );
return type:float
content:ใช้หาค่า ล็อกการิทึมฐานสิบ
example:echo log10 ( 1 );
-
function:sin ( number );
return type:float
content:ใช้หาค่ามุมของ sine ( มุม radian )
example:echo sin ( 1 );
-
function:sinh ( number );
return type:float
content:ใช้หาค่ามุมของ hyperbolic sine
example:echo sinh ( 0 );
-
function:asin ( number );
return type:float
content:ใช้หาค่ามุมกลับของ sine
example:echo asin ( 0.25 );
-
function:cos ( number );
return type:float
content:ใช้หาค่ามุมของ cosine ( มุม radian )
example:echo cos ( 1 );
-
function:cosh ( number );
return type:float
content:ใช้หาค่ามุมของ hyperbolic cosine
example:echo cosh ( 0 );
-
function:acos ( number );
return type:float
content:ใช้หาค่ามุมกลับของ cosine
example:echo acos ( 0.75 );
-
function:tan ( number );
return type:float
content:ใช้หาค่ามุมของ tangent ( มุม radian )
example:echo tan ( 1 );
-
function:tanh ( number );
return type:float
content:ใช้หาค่ามุมของ hyperbolic tangent
example:echo tanh ( -0.50 );
-
function:atan ( number );
return type:float
content:ใช้หาค่ามุมกลับของ tangent
example:echo atan ( -1 );
-
function:atan2 ( number1, number2 );
return type:float
content:ใช้หาค่ามุมของ atan2 ( number1 / number2 )
example:echo atan2 ( 3, 7 );
-
function:rad2deg ( number );
return type:float
content:ใช้แปลงมุมองศาเรเดียน เป็นองศาดีกรี
example:echo rad2deg ( M_PI_4 );
-
function:deg2rad ( number );
return type:float
content:ใช้แปลงมุมองศาดีกรี เป็นองศาเรเดียน
example:echo deg2rad ( 45 );
-
function:rand ( min, max );
return type:float
content:ใช้สุ่มเลข ระหว่าง 0 ถึง 1 ( หรือระหว่าง min ถึง max )
example:echo rand();
echo rand( 1, 50 );
-
function:lcg_value ();
return type:float
content:ใช้สุ่มเลขระหว่าง 0 ถึง 1 โดยการสุ่มแต่ละครั้งจะไม่มีการได้ค่าที่ซ้ำกัน
example:echo lcg_value();