Table of Contents

Property Decimals

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Decimals

Gets or sets the number of decimals to show.

public int Decimals { get; set; }

Property Value

int

The number of decimals to show.

Examples

UIBlockDefinition numericBlock = new UIBlockDefinition();

numericBlock.Type = UIBlockType.Numeric;
numericBlock.InitialValue = "10;true;Discreet 2";
numericBlock.DestVar = "num";
numericBlock.WantsOnChange = true;
numericBlock.Row = 0;
numericBlock.Column = 1;
numericBlock.HorizontalAlignment = "Center";
numericBlock.VerticalAlignment = "Top";
numericBlock.RangeHigh = 300;
numericBlock.RangeLow = 5;
numericBlock.RangeStep = 5;
numericBlock.Decimals = 6;
numericBlock.Extra = "Discreet 1;Discreet 2;Discreet 3";

uib.AppendBlock(numericBlock);

Remarks

Applicable only in case Type is set to Numeric.