วันพุธที่ 30 เมษายน พ.ศ. 2557

10:33

ฟังก์ชัน bcscale()
กำหนดจุดทศนิยม ด้วยฟังก์ชัน bcscale()




รูปแบบ
string bcscale ( int $scale )
$scale คือ จำนวนจุดทศนิยม

ตัวอย่าง
<?php

bcscale(3);
echo bcdiv('105', '6.55957');

?>
ผลลัพธ์
16.007

0 ความคิดเห็น:

แสดงความคิดเห็น

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.