skin-react icon indicating copy to clipboard operation
skin-react copied to clipboard

Badge: Difference between ebayui-core and this lib with floating point numbers

Open aaron-nance opened this issue 5 years ago • 0 comments

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

aaron-nance avatar Sep 15 '20 17:09 aaron-nance