The culture info is en-US, so I would assume so. I can round-trip the formatting via "Decimal.Parse(moneyString, NumberStyles.Currency)", but I can't figure out how to give Monorail's databinder a hint to use a similar technique.
Thanks for the rapid response! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of hammett Sent: Monday, January 12, 2009 5:22 PM To: [email protected] Subject: Re: Monorail DataBind and currency format Do you know if they are convertible for the culture info set on the thread? On Mon, Jan 12, 2009 at 4:18 PM, Tyler Burd <[email protected]> wrote: > I have some form fields that are formatted as U.S. currency (so they have a > dollar sign within the form field). I can't seem to get these fields to > bind to decimal properties in a Monorail controller. Is there any way to > allow this, or do I need to add some pre-submit javascript to strip the > dollar sign? > > > > Thanks! > > -tyler burd > > > > -- Cheers, hammett http://hammett.castleproject.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
