Just released initial versions of a package to convert Indian money to correct comma formatting and words. Lakhs and crores are unintuitive and non-standard, this makes them easy to work with.
https://github.com/sudhirj/paisa.js https://github.com/sudhirj/paisa.rb