php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67852 [FR] type de la valeur retournée
Submitted: 2014-08-17 11:03 UTC Modified: 2014-08-17 11:38 UTC
From: youval dot teboul at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: youval dot teboul at gmail dot com
New email:
PHP Version: OS:

 

 [2014-08-17 11:03 UTC] youval dot teboul at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.ceil
---

Bonjour,

la fonction 'ceil' doit retourner un entier et dans la documentation il est indiqué 'float'.

Est-ce une erreur ?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-08-17 11:35 UTC] sobak@php.net
-Summary: type de la valeur retournée +Summary: [FR] type de la valeur retournée
 [2014-08-17 11:38 UTC] sobak@php.net
-Status: Open +Status: Not a bug
 [2014-08-17 11:38 UTC] sobak@php.net
No, it is not a bug. This is explained under "Returned values" section:
>  The return value of ceil() is still of type float as the value range of float is usually bigger than that of integer.

Sorry for previous useless change in title of this bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC