Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with dollarformat

New Here ,
Apr 09, 2008 Apr 09, 2008
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.

364
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Apr 09, 2008 Apr 09, 2008
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources