Wednesday, January 7, 2009

Tam Yuvarlama: round()

Tagged with: ,
Cumartesi, Ekim 18, 2008, 0:01
This news item was posted in Genel, Php Kodları category and has 0 Comments so far.

round() İşlemden cıkan sonuc 0.5 den kucukce aşşağı büyükse yukarıya doğru yuvarlama yapmaktadır.

Örnek:[hidepost=0]

print round(32.2); // cıkan sonuc 32

print round(32.6; // cıkan sonuc 33 [/hidepost]

Paylaş,Takip Et ve Kazan:
  • Google
  • Facebook
  • Live
  • del.icio.us
  • Furl
  • Reddit
  • E-mail this story to a friend!
You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.