Round numbers is there a predefined method

Is there a predefined method to round numbers. Or how can i round numbers .ex:a=23.677 round it to a=23.5
[112 byte] By [jolaa] at [2007-10-2 11:03:15]
# 1
Typing "rounding numbers Java" into Google and hitting "I'm Feeling Lucky" gives me this: http://www.cafeaulait.org/course/week4/40.htmlHope that helpsLeePS: why 23.5? I could understand 23.6 or 23.7 or 26.68
tsitha at 2007-7-13 3:35:47 > top of Java-index,Java Essentials,Java Programming...
# 2
(actually, I couldn't understand 26.68 - 23.68 though...)
tsitha at 2007-7-13 3:35:47 > top of Java-index,Java Essentials,Java Programming...
# 3
Don't bother, double-post: http://forum.java.sun.com/thread.jspa?threadID=703653
CeciNEstPasUnProgrammeura at 2007-7-13 3:35:47 > top of Java-index,Java Essentials,Java Programming...
# 4
****.
tsitha at 2007-7-13 3:35:47 > top of Java-index,Java Essentials,Java Programming...