Issues

Select view

Select search mode

 

Floor() / Int() can round a number down to > 1 less than its value

Fixed

Description

For example, the following code:

https://trycf.com/scratch-pad/gist/a8b989bc1332537442dc2d9b251d7b39

The code produces the correct result (720) on Lucee 4.5 + also Adobe ColdFusion.

Environment

None

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Created 24 January 2020 at 10:08
Updated 20 May 2023 at 14:19
Resolved 25 May 2020 at 11:45

Activity

Show:

Zac Spitzer20 May 2023 at 14:19

Pothys - MitrahSoft27 January 2020 at 13:36

I've checked this ticket and confirmed the issue happened on Lucee latest version 5.3.5.68 SNAPSHOT also. I use function int(720.00000000000000000000000000000252) it returns the result 719. But in ACF works fine, and returns 720 correctly.

Flag notifications