[jQuery] Removing percentage after dot - font-size: 30.6207px

2010-01-26 Thread Mircea
I have a slider that sets my CSS font-size to a value. The value itself is accepted by CSS buy I would like to remove the decimals after the dot. For example one value is: font-size: 30.6207px and it should be font-size: 30px or font-size: font-size: 44.2759px; and it should be font-size: 44px

Re: [jQuery] Removing percentage after dot - font-size: 30.6207px

2010-01-26 Thread Jonathan Vanherpe (T T NV)
Mircea wrote: I have a slider that sets my CSS font-size to a value. The value itself is accepted by CSS buy I would like to remove the decimals after the dot. For example one value is: font-size: 30.6207px and it should be font-size: 30px or font-size: font-size: 44.2759px; and it should be