Skip to content

Mark ceil() return type as float#5355

Merged
muglug merged 1 commit intovimeo:masterfrom
simPod:float
Mar 11, 2021
Merged

Mark ceil() return type as float#5355
muglug merged 1 commit intovimeo:masterfrom
simPod:float

Conversation

@simPod
Copy link
Copy Markdown
Contributor

@simPod simPod commented Mar 9, 2021

https://www.php.net/manual/en/function.ceil.php

The return value of ceil() is still of type float as the value range of float is usually bigger than that of int.

Resolves #5354

https://www.php.net/manual/en/function.ceil.php

The return value of ceil() is still of type float as the value range of float is usually bigger than that of int.
@muglug muglug merged commit 9793f92 into vimeo:master Mar 11, 2021
@muglug
Copy link
Copy Markdown
Collaborator

muglug commented Mar 11, 2021

Thanks!

@simPod simPod deleted the float branch March 11, 2021 06:45
This was referenced Mar 15, 2021
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ceil() returns float, not int

2 participants