toDecimal

Summary

Returns the decimal (base 10) value of the integer.

Usage

public string toDecimal()

Returns

The decimal representation of the integer.

Description

Returns the decimal (base 10) representation of the integer value as a string.

Examples

Basic Usage
1
2
3
4
5
6
7
import System;
 
signed byte a = 97, b = 98, c = 99;
 
Console.log(a.toDecimal()); // "97"
Console.log(b.toDecimal()); // "98"
Console.log(c.toDecimal()); // "99"

Share

HTML | BBCode | Direct Link