Skip to main content
Participant
Jun 3, 2013 7:16 PM UTC
Question

$ addition to an amount column in a form

I need to add a dollar sign to the left of the amount that is returned in a data form. Has anyone done this? I'm a newbie to CF so any help is greatly appreciated.

The amount column needs to read: $701.32 vs. just 701.32.

Thanks much,

Chris C.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    p_sim
    Participating Frequently
    Jun 5, 2013 1:34 PM UTC

    Format the returned value using #DollarFormat(form.amount)#.

    Translate
    cherdt
    Inspiring
    Jun 4, 2013 10:45 PM UTC

    I'm not sure what you mean by "returned in a data form" -- are you using cfgrid? Can you provide more details or sample code?

    Translate