Display numbers with decimal |
[eluser]Musaddiq Khan[/eluser]
AOA, I want to display a number e.g "145" as 145.00 in codeigniter how it is possible. Thanx in advanc
[eluser]smilie[/eluser]
Not sure that CI has default option for it, but PHP has one: number_format(). You could create helper to mimic PHP function. Cheers, Smilie
|
Welcome Guest, Not a member yet? Register Sign In |