Skip to main content
Participant
April 9, 2008
Question

Problem with dollarformat

  • April 9, 2008
  • 1 reply
  • 394 views
Hi all

I am new to coldfusion.
I have created a page where i need to display a value with dollarformat.
The value I am getting from database consists of three digits after decimal places.But while displaying in page I am using dollarformat function.
It is rounding off the value to two digits after decimal places.I have to display three decimal places on page.

how do i resolve this issue.

Thanks in advance.

    This topic has been closed for replies.

    1 reply

    Inspiring
    April 9, 2008
    Use the NumberFormat function instead.

    You might try "$999,999.000" as a mask

    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_m-r_08.html#134113