Clear Up
SharpKit Reference

JsNumber.toFixed Method (int)

The toFixed() method formats a number to use a specified number of trailing decimals. The number is rounded up, and nulls are added after the decimal point (if needed), to create the desired decimal length.

Namespace: SharpKit.JavaScript

Class: JsNumber

Syntax

public JsString toFixed(int x)

Parameters

x
Type: System.Int32
The number of digits after the decimal point. Default is 0 (no digits after the decimal point)

Return Value

Type: SharpKit.JavaScript.JsString
© Copyright 2005-2011 SharpKit. All rights reserved.