Skip to content
Discussion options

You must be logged in to vote

That would be awesome! In fact, I also already thought about that 👍🏻

You forgot a group of methods: Static constructors

  • parse()
  • parseInt()
  • parseFloat()

There are more terminal methods:

  • pairs()

Furthermore, we could have fluent setters for formatters (probably rather __toString()) and such

  • formatAs() ('currency'|'percentage'|'spell'|'ordinal'|'spellOrdinal'|'abbreviated'|'summarized'|'fileSize'|'humanReadable')
  • withers (withLocale(), withCurrency())
  • other arguments (precision, maxPrecision, others)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Tresor-Kasenda
Comment options

@shaedrich
Comment options

@Tresor-Kasenda
Comment options

Answer selected by Tresor-Kasenda
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants