Title:
CFCLIENT: Functions: cJustify : second parameter when given decimal value is ceil
| View in TrackerStatus/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: