Minggu, 22 September 2013

PHP Indonesia - Facebook: [ask] code php membatasi bilangan pecahan (3.14455...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Refresh your vocabulary.

Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.
From our sponsors
[ask] code php membatasi bilangan pecahan (3.14455...
Sep 23rd 2013, 00:55, by Franz Pasaribu

Franz Pasaribu 12:55am Sep 23
[ask]
code php membatasi bilangan pecahan (3.1445566) menjadi (3.14) atau 2 angka diblakang bagaimana ya gan?..

Hairul Anwar 12:57am Sep 23
echo round_up (56.77001, 2); // displays 56.78

Franz Pasaribu 12:57am Sep 23
contoh :
$hasil = 56.5566;
jadi -> echo round_up ($hasil,2)

Hairul Anwar 12:58am Sep 23
??

Franz Pasaribu 1:01am Sep 23
hasilnya error function mas Hairul Anwar..

Ade Putra Prima Suhendri 1:02am Sep 23
pake round() saja,

Franz Pasaribu 1:03am Sep 23
thx mas Ade Putra Prima Suhendri fix..:)

Franz Pasaribu 1:09am Sep 23
gan ada 10 field isian untuk angka, sedangkan kita mau menghitung rata-rata sesuai dengan filed yg terisi..
contoh isian:
(1,2,3,4,5,6,0,0,0,0)
bgaiman cara menghitung rata-rata nilai yg terisi saja?.. (!=0)

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar