number formatting - convert numberformat (coldfusion) -
hi folks! got simple question coldfusion users, know how convert dynamic number decimals, example have code: #number# , equals to, example 10 need write 0.10 how do it? tried this: 0.#number# didnt work :)
so saying values in variable "number" have 2 decimal places @ end , need display decimal places?
if :
<cfset actualnumber = incomingnumber/10> <cfoutput>#numberformat(actualnumber,".00")#</cfoutput>
should need.
Comments
Post a Comment