NumberPrototype.toExponential(Object, Object) Méthode

Définition

Crée une représentation sous forme de chaîne du NumberObject spécifié qui utilise la notation scientifique (E).

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

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

Paramètres

thisob
Object

Objet sur lequel cette méthode agit.

fractionDigits
Object

Nombre entre 0 et 20 qui représente le nombre de décimales à afficher. La valeur par défaut est 16.

Retours

Représentation sous forme de chaîne de thisob.

Attributs

S’applique à

Voir aussi