int front = (int) Math.floor(originalDouble);double end = originalDouble - front;end *= 10;double finalNum = front + (Math.round(end) / 10D);
Post a Comment
No comments:
Post a Comment