```coffeescript
angular.module("app").filter "formatVotes", () ->
    (number) ->  # TODO  use real precision, not available in web wallet yet
        return number / 100000
```

Make votes format a bit prettier: Add number formatting and BTS unit
user
```coffeescript
angular.module("app").filter "formatVotes", ($filter) ->
    (number) ->  # TODO  use real precision, not available in web wallet yet
        return $filter('number')(number / 100000,0)+' BTS'
```
assistant