Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
EricInToronto #1
Formatting Data in BIND
:D
The BIND part of cfinput is great.
Now I need to format the number calculated so I only see two decimal places.
Tried our DecimalFormat command and it doesn't work .
Any ideas?
Thanks
Eric
EricInToronto Guest
-
ActionScript to bind XML data to components
How can I use ActionScript to bind XML data to a comboBox component instead of using the component inspector? (I have done the latter, successfully,... -
Trying to BIND data from Oracle
This should be very simple, but it is giving me a lot of problems. I am returning data from Oracle into a datagrid, then I am trying to use the... -
Use Bind Data as link within CFFORMITEM
I am having a problem displaying some bind data as a link within a <cfformitem> tag. The link works fine, however I want the data from the grid... -
date formatting with bind/onchange
I'm having a problem with my flash form and binding a text field to a date object. I want to display in the text field an employee's date of birth,... -
how to bind data to checkbox in datagrid
hi i have a datagrid and one colume is a bool if i use a normal asp:BoundColumn is shows as true or false and i want it to show as a checkbox but... -
Mike Nimer #2
Re: Formatting Data in BIND
You need to use actionscript functions not ColdFusion functions. Check out
the flash Math functions, they should be able to help. You would use them
like this
<cfinput bind="{Math.round(field2.text)}">
hth,
---nimer
"EricInToronto" <webforumsuser@macromedia.com> wrote in message
news:cvbnd5$6au$1@forums.macromedia.com...> :D
>
> The BIND part of cfinput is great.
> Now I need to format the number calculated so I only see two decimal
> places.
> Tried our DecimalFormat command and it doesn't work .
>
>
> Any ideas?
>
> Thanks
> Eric
>
Mike Nimer Guest



Reply With Quote

