NumberPrototype::toFixed Method (Object^, Double)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Creates a string representation of the specified NumberObject that displays the specified number of decimal digits.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, JSBuiltin::Number_toFixed)] static String^ toFixed( Object^ thisob, double fractionDigits )
Parameters
- thisob
-
Type:
System::Object^
The object that this method is acting upon.
- fractionDigits
-
Type:
System::Double
A number between 0 and 20 that represents the number of decimal places to display. The default is 0.
.NET Framework
Available since 1.1
Available since 1.1
Show: