package huawei;
/**
* 四舍五入
* Math.round
*
* @author ZengWenFeng
* @date 2023.03.02
* @mobile 13805029595
* @email [email protected]
*/
public class HJ_007_Approximately
{
public static void main(String[] ZengWenFeng13805029595)
{
//
System.out.println(Math.round(12.5222));//13
System.out.println(Math.round(12.4222));//12
}
}