💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
| JScript  | [语言参考](#) | |-----|-----| # Math 对象 是一个固有对象,提供基本数学函数和常数。 `**Math.**[{*property* | *method*`}`]` #### 参数 *property* 必选项。**Math** 对象的一个属性名。 *method* 必选项。**Math**.对象的一个方法名。 #### 说明 **Math** 对象不能用 **new** 运算符创建,如果试图这样做则给出错误。该对象在装载脚本引擎时由该引擎创建。其所有方法和属性在脚本中总是可用。 #### 属性 [E 属性](#) | [LN2 属性](#) | [LN10 属性](#) | [LOG2E 属性](#) | [LOG10E 属性](#) | [PI 属性](#) | [SQRT1_2 属性](#) | [SQRT2 属性](#) #### 方法 [abs 方法](#) | [acos 方法](#) | [asin 方法](#) | [atan 方法](#) | [atan2 方法](#) | [ceil 方法](#) | [cos 方法](#) | [exp 方法](#) | [floor 方法](#) | [log 方法](#) | [max 方法](#) | [min 方法](#) | [pow 方法](#) | [random 方法](#) | [round 方法](#) | [sin 方法](#) | [sqrt 方法](#) | [tan 方法](#) #### 要求 [版本 1](#) #### 请参阅 [Number 对象](#) [© 2000 Microsoft Corporation 版权所有。保留所有权利。使用规定。](#)