Numeric.numberFormat method has not been implemented

Description

See Gist on trycf.com:

<cfscript> i = 1; s = i.numberFormat("00000"); // Lucee: The function [numberFormat] does not exist in the Numeric writeDump([i,s]); // ColdFusion 2018+: 00001 </cfscript>

Affects version 5.3.8.206, but you don't offer that as an option.

Environment

None

Activity

Show:

Pothys - MitrahSoft 14 December 2021 at 05:57

I've checked this ticket with the lucee latest build 6.0.0.149-SNAPSHOT and now lucee supports Numeric.numberFormat() member function, it works fine.

Pothys - MitrahSoft 9 December 2021 at 14:27

I added a fix and testcase to this ticket

Pull Request: https://github.com/lucee/Lucee/pull/1487

Pothys - MitrahSoft 27 October 2021 at 13:24

I've checked this ticket with lucee latest version 5.3.9.14-SNAPSHOT. Yes, lucee doesn't support Numeric.numberFormat() member function. Seems it works fine in ACF.

Fixed

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 14 October 2021 at 08:40
Updated 27 April 2022 at 16:52
Resolved 14 December 2021 at 05:57

Flag notifications