I need to do a numeric calculation based on CSS properties. However, when I use this to get info:
it returns the value ’10px’. Is there a trick to just getting the number part of the value no matter whether it is
em or whatever?