This week's book giveaway is in the Android forum. We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line! See this thread for details.

I have a double number d = 15.33 .I want to do the below calculation.(ie) i want to seperate the whole number and the decimal part without using a splitter based on (.) to get the values.How can I do that??

Converting to text and splitting on the decimal point is both inefficient and subject to localisation issues (e.g. '.' versus ','). Using the Math library is the way to go, I think.

Look at Math.floor().

Compare and contrast to Math.ceil() and Math.round(), which have similar functionality, but subtle important differences.

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.