摘要:
HTTP是Hyper Text Transfer Protocol(超文本传输协议)的缩写。它的发展是万维网协会(World Wide Web Consortium)和Internet工作小组IETF(Internet Engineering Task Force)合作的结果,(他们)最终发布了一系 阅读全文
摘要:
怎么向上取整、向下取整: 向上取整用Math.ceil(double a) 向下取整用Math.floor(double a) 怎么保留小数点后两位: 方法1:用Math.round计算,这里返回的数字格式的. float price=89.89; int itemNum=3; float tota 阅读全文