第七章 几个基本的Java类
7.1 Math类
1、常用的数学方法
成员变量
static?double
E The double value that is closer than any other to e, the base of the natural logarithms.
static?double
PI The double value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter.
成员方法
static?double
abs(double?a) ??????????Returns the absolute value of a double value.
static?float
abs(float?a) ??????????Returns the absolute value of a float value.
static?int
abs(int?a) ??????????Returns the absolute value of an int value.
static?long
abs(long?a) ??????????Returns the absolute value of a long
您可能关注的文档
最近下载
- T/CECS1037-2022 预拌流态固化土填筑技术标准.pdf VIP
- 高智能兽药残留检测仪说明书定版加封面.doc
- 2023年内蒙古包头中考数学真题及答案.pdf VIP
- 2026年内蒙古农村商业银行管理人员及专业人才公开招聘备考题库及完整答案详解一套.docx VIP
- 企业ESG培训:可持续发展与社会责任.pptx VIP
- 【3亿片年产量的利格列汀片剂的生产工艺及流程设计10000字】.docx VIP
- 2025山东青岛中化集团营销业务岗春招笔试历年参考题库附带答案分析.docx VIP
- 轨道交通全自动运行技术研究及应用.pptx VIP
- (高清版)DG∕TJ 08-2434-2023 城市轨道交通结构安全保护技术标准.pdf VIP
- 防波堤结构防台专项方案.docx VIP
原创力文档

文档评论(0)