2008/12/17 <on...@houseofdesign.de>: > > Hi Carl (and everyone else :-) ), > > I wrote a deflator/inflator couple for Number::Format. > The locale can be specified as well as precision and trailing zeroes. > > I'd be glad if you would have a look at it and consider to add it to > FormFu. The only disadvantage is that Number::Format fails on some systems. > But I already contacted the author and send him a patch for the failing > tests.
It looks good. Though, would it make sense to try and pull the locale from $form->languages(), or at least provide a $form->locale() method you can get it from, so it doesn't have to be set in multiple places? Other than that, though - nice idea. Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu