css('border-top-width' ) bringing back 5 decimals.
I have some code that creates a box:
The baseCell$ on line 9700 that it starts from is a clone of a box template defined a few lines earlier:
- baseCell$ = $('#boxTemplate').clone();
The problem is that even though the value I'm setting for border width is 1px (see line 9735) the value I read back with css('border-top-width' on line 9736 is 1.11111px.
Here's the actual console.log output from lines 9735 and 9736:
Does anyone have an idea what might be going on here?
Thanks
Steve