if you don't like how the formatter laid out your code, you may need to introduce new functions/variables the formatter is not as clever as humans are, so it can sometimes produce less readable code ...
where is formatted according to the appropriate Locale's currency. Note: India does not have a built-in Locale, so you must construct one where the language is en (i.e., English).