paint-brush
Creating an Elm Native module for currency formattingby@julianjelfs_61852
813 reads
813 reads

Creating an Elm Native module for currency formatting

by Boolean Julian Jәlfs4mFebruary 24th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Lots of things are very nice in Elm but occasionally you find a gap. For me, currency formatting was such a gap. It’s non-trivial enough to be annoying if you need to deal with different locales and different currencies. Javascript has a perfect api for this in the form of the <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString" target="_blank">toLocaleString </a>function.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Creating an Elm Native module for currency formatting
Boolean Julian Jәlfs HackerNoon profile picture
Boolean Julian Jәlfs

Boolean Julian Jәlfs

@julianjelfs_61852

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite