BigDecimal(1.002).setScale(2, BigDecimal.RoundingMode.HALF_UP).doubleValue() // Round double to #.##
Category Code
Str to json
  1. Consider replacing tuple with 3+ items with case classes (will improve performance as well).
  2. scala cheatsheet
  3. scala type level programming - high wizardry in the land of scala
  4. map, flatMap, for comprehension - must read
  5. Learn scala by practicing
  6. KenScambler - clear but deep functional theory! (to really understand map,flatmap,for - I mean for real!
  7. KenScambler - Essense of Iterator pattern
  8. Introduction to category theory great lecture
  9. The essence of functional programming - paper
  10. Scala skeleton project
  11. Databricks scala style guide
  12. Play skeleton project
  13. F# for fun and profit - good for functional ideas
  14. Dependency Injection In scala
  15. Error handling best practices in scala
  16. Effective scala
  17. Scala type system
  18. Scala type classes
  19. Alvin Alexander (scala cookbook author) scala recipes
  20. Main scala concepts explained
  21. Control this article and you control scala types
  22. Scala conferences
  23. The essence of iterator pattern - paper (to really understand map,flatmap,for - really)
  24. Scala context and view bounds
  25. Effective Actors By JAmie Allen
  26. Jamey allen on what you need to know about lambda

Embeedde videos