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

cfgridcolumn, mask

Explorer ,
Jun 04, 2009 Jun 04, 2009

My form is format="flash"

I have not found a solid post with a solution for formatting a gridcolumn type="currency" using the mask="".  What is odd is on the same row from the query one column is great $10.45 and the next column is 10.35000898979.  I dumped the query and the values there are 10.45 and 10.35 .  I tried the mask="$9,999.99"  but is just does $9,9999.9910.35000898979 in the column.  Any suggestions would be welcome.

2.1K
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
Community Expert ,
Aug 15, 2009 Aug 15, 2009
LATEST
and the next column is 10.35000898979.

Don't you mean the next row? I think the correct requirements for currency display are:

<cfform format="flash">

<cfgridcolumn name="someDecimalFloatOrDouble" type="currency" mask="$">

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