Hi peeps,

I needed to format some floats (eg. from 1234.56 to 1,234.56) and I
couldn't find a ready-made solution. I confess I haven't searcher much but
all I've found was this 3 years old topic
<https://groups.google.com/forum/#!topic/elm-discuss/mVPrEqWBGKw> from this
forum, and some 2 years old packages such as Aron's one
<https://github.com/avh4/elm-number-format>.

This is the solution I wrote
<https://github.com/datasciencebr/jarbas/blob/b063c888d20778f421515e26341a268d480174a6/jarbas/frontend/elm/Format/Number.elm>
(not sure about the quality though, I'm still a beginner). There are some some
simple tests
<https://github.com/datasciencebr/jarbas/blob/b063c888d20778f421515e26341a268d480174a6/jarbas/frontend/tests/elm-tests/Tests.elm#L36-L51>
 too.

The questions are:

   - Was it a waste of time writing it all fro scratch? What have I missed?
   - If it wasn't… does it worth it to (try to) publish to elm-packages? If
   so, is there a recommended  tutorial, documentation about how to pack &
   send it?

Many many thanks,

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to