toExponential

Summary

Formats the integer value using exponential notation.

Signatures

Click on a signature to select it and view its documentation.

Usage

public string toExponential()

Returns

The integer value formatted using exponential notation.

Description

The number of digits appearing after the decimal point will be the number of digits required to uniquely identify the value.

Examples

Basic Usage
1
2
3
4
import System;
 
signed byte x = 100;
Console.log(x.toExponential()); // "1e+2"

Share

HTML | BBCode | Direct Link