tracker issue : CF-3737513

select a category, or use search below
(searches all categories and all time range)
Title:

CFCLIENT: Functions: cJustify : second parameter when given decimal value is ceil

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (Anuj Nawani)

Created: 04/05/2014

Components: Mobile Support, Data Structure

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: 289635 / CF11 Update5

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

In CF server decimal value are ignored and is floored
In CF mobile decimal value is considered and is ceiled

cJustify(long_txt, 20.1) and 20.9 - In server allocated 20 spaces in all 
cJustify(long_txt, 20.1) and 20.9 - In mobile allocates 21 spaces in all

Code snippet:
<div id='actual_3' class='actual'>
<cfclient>
<cfset long_txt = 'very long text'>
<cfoutput>
<pre>|#cJustify(long_txt, 20.5)#|</pre>
</cfoutput>
</cfclient>
</div>

Expected: |   very long text   |
Actual  : |   very long text    |

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3737513

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Getting incorrect output. Please find the attachment for the output. (Comment added from ex-user id:prk)
Comment by Adobe D.
12848 | January 19, 2015 07:29:58 AM GMT
Issue is fixed. Hence, closing this bug (Comment added from ex-user id:prk)
Comment by Adobe D.
12849 | February 02, 2015 06:46:34 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 11 Update 5
Comment by CFwatson U.
12850 | February 20, 2015 09:27:40 AM GMT
Verified this is fixed in CF11 Update 5 (build 11,0,05,293506). Thanks!, -Aaron
Comment by External U.
12851 | November 23, 2015 05:12:36 PM GMT