Table of Contents

Method FormatNumber

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

FormatNumber(double, int)

Formats a number as the units say: decimals, the thousands parted, the decimal separator: 12 345.68.

public string FormatNumber(double value, int decimals)

Parameters

value double

The number.

decimals int

The decimals.

Returns

string

The text.