public constructor UnitAttribute.UnitAttribute

Brief

Constructor for the unit that has one name

Declaration
C#
  UnitAttribute (string name, int defaultAccuracy)

Parameters
name

The name of the unit

defaultAccuracy

The default accuracy (number of digits after decimal point)

Declared in UnitAttribute

back