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

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -