Re: [elm-discuss] Formating numbers

2016-12-16 Thread Eduardo Cuducos
Thanks Nick and Max for the kind words. It's online for everybody now! https://twitter.com/cuducos/status/809986200324964352 Yay! On Fri, Dec 16, 2016 at 11:09 PM Max Goldstein wrote: > You should go for it! Here's a guide I wrote on publishing a package: > https://medium.com/@Max_Goldstein/how

Re: [elm-discuss] Formating numbers

2016-12-16 Thread Max Goldstein
You should go for it! Here's a guide I wrote on publishing a package: https://medium.com/@Max_Goldstein/how-to-publish-an-elm-package-3053b771e545?source=linkShare-a81ca980bdb1-1481936793 And here is a JS library that does formatting, which you can use for inspiration: https://github.com/d3/d3-f

Re: [elm-discuss] Formating numbers

2016-12-16 Thread Nick H
One thing you might want to also test is how your code deals with negative numbers. In particular, negative numbers that round to zero! On Fri, Dec 16, 2016 at 1:42 PM, Nick H wrote: > There's nothing in the standard libraries (that I know of) to help with > number formatting. There have been a

Re: [elm-discuss] Formating numbers

2016-12-16 Thread Nick H
There's nothing in the standard libraries (that I know of) to help with number formatting. There have been a few libraries written, but this is the only one I see that is up-to-date with 0.18. My personal guideline for

[elm-discuss] Formating numbers

2016-12-16 Thread Eduardo Cuducos
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 from this forum, and some 2 years old