Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 14th, 2005, 06:56 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default return next full int

OK.. some time ago I saw that function in VB but I never used it so I haven't got a clue what the function is called :(

int ( value ) in VB return the integral part of the value (ex: 3.5 will return 3 or 14.99 wil return 14)

Is there a function in PHP to return the next full integral so if the value=3.01 it return 4 ?

Thanks.

 
Old April 14th, 2005, 09:16 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

ceil()





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading An int Doom C# 1 January 7th, 2008 01:43 PM
int? asn187 C# 2 March 30th, 2007 06:05 AM
What's the difference between an int and a long jnrico C++ Programming 4 March 4th, 2007 01:29 AM
how can I get the int value from Session[" "] iaarm88 Classic ASP Databases 2 February 8th, 2005 03:38 AM
MySQL return a String instead of an INT peg110 PHP Databases 2 December 2nd, 2004 01:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.