bountysource / bountysource/core

Badge amount doesn't round numbers the same as front end

Open
#741 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
643
Forks
199
PR merge metrics
No merged PRs in 30d

Description

![image](https://cloud.githubusercontent.com/assets/2245234/3111359/34e0e2e0-e6b0-11e3-8d34-a76d81d5e7ab.png)
https://www.bountysource.com/issues/2149417-x11-switch-difficulty-incorrect

This problem also exists when rounding numbers with the GitHub plugin. I'd suggest we show cents on the Front End and standardize the rounding on the badge/github plugin.
##

Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2389620-badge-amount-doesn-t-round-numbers-the-same-as-front-end?utm_campaign=plugin&utm_content=tracker%2F47&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47&utm_medium=issues&utm_source=github).

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reproducing the rounding difference between the front end, badge, and GitHub plugin, then trace where each amount is formatted. Done means the affected displays use the agreed rounding behavior and the front end's cents requirement is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, ruby
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.