How can I retrieve a .css() value with Float accuracy?

How can I retrieve a .css() value with Float accuracy?

Hi,

I have a jQuery object upon which I am setting the 'top' value using the .css() method. The value is to Float accuracy:

  1.     $('#example').css('top', 13.857759);

Setting the value works fine, and the result in the DOM is:

  1.     <div id="example" style="top: 13.857759px;">...</div>

However, when I go to retrieve the value using the .css() method, the value is returned as an integer:

  1.     alert($('#example').css('top')) // alerts "13px"

Is this an intentional quirk of jQuery, or considered to be a bug?