NumberPrototype::toExponential Method (Object^, Object^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a string representation of the specified NumberObject that uses scientific (E) notation.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, 
	JSBuiltin::Number_toExponential)]
static String^ toExponential(
	Object^ thisob,
	Object^ fractionDigits
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

fractionDigits
Type: System::Object^

A number between 0 and 20 that represents the number of decimal places to display. The default is 16.

Return Value

Type: System::String^

A string representation of thisob.

.NET Framework
Available since 1.1
Return to top
Show: