Clear Up
SharpKit Reference

JsNumber.toExponential Method (int)

Returns a JsString containing a number represented in exponential notation.

Namespace: SharpKit.JavaScript

Class: JsNumber

Syntax

public JsString toExponential(int fractionDigits)

Parameters

fractionDigits
Type: System.Int32
Number of digits after the decimal point. Must be in the range 0 – 20, inclusive.

Return Value

Type: SharpKit.JavaScript.JsString
A JsString representation of a number in exponential notation. The JsString contains one digit before the significand's decimal point, and may contain fractionDigits digits after it. If fractionDigits is not supplied, the toExponential method returns as many digits necessary to uniquely specify the number.
© Copyright 2005-2011 SharpKit. All rights reserved.