101 23 has floor value 101 important point. If the argument is not negative the argument is returned. On this document we will be showing a java example on how to use the abs method of math class.