Problem with parseInt()

Problem with parseInt()

Hi,
I wrote this code:
  1.   parseInt($("#totalSum").text("5Y") ,  10);
 
the result should be: 5.. but the result is 5Y.
 
Why? I can't figure it out..
 
thanks...