split floating point number at decimal
Jan 19 2012 | 1:31 pm
I'm trying to take a floating point number and divide it at the decimal into two separate integers. I've been looking at sprintf and regexp but have been unable to figure out how to achieve this. Can someone point me in the right direction, please?