skin-react
skin-react copied to clipboard
Badge: Difference between ebayui-core and this lib with floating point numbers
Bug Report
eBayUI Version: 2.0.0-beta.1
Description
While I was reviewing the Badge test cases in the Marko version of this library I noticed that the "renders number with rounded-up value" test does not match the test case in this library. In the Marko version if a 5.6 is entered the badge will show a 6 (round up), but in this version is does a floor and you end up with a 5