NumberPrototype.toExponential(Object, Object) 方法

定義

為使用科學記號 (E) 標記法之指定的 NumberObject 建立字串表示。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::String ^ toExponential(System::Object ^ thisob, System::Object ^ fractionDigits);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Number_toExponential)]
public static string toExponential (object thisob, object fractionDigits);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Number_toExponential)>]
static member toExponential : obj * obj -> string
Public Shared Function toExponential (thisob As Object, fractionDigits As Object) As String

參數

thisob
Object

這個方法執行位置的物件。

fractionDigits
Object

一個介於 0 和 20 之間的數字,表示要顯示的小數位數。 預設值是 16。

傳回

thisob 的字串表示。

屬性

適用於

另請參閱