DecimalSeparator Property
General info
Label |
Decimal Separator |
Description |
Defines an alternative decimal separator. If left empty, the system default of the core computer will apply |
Data type |
String |
Type |
Regular |
Code |
4159 |
Symbolic name |
MODEL_PROP_DECIMALSEPARATOR |
Lua access code |
inmation.model.properties.DecimalSeparator |
Available since |
1.42.0.5695 |
- Parent properties
Attributes
Name | Tooltip |
---|---|
PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs |
PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs |
Examples
Read from or write to the DecimalSeparator
property.
-- Read from the DecimalSeparator
inmation.getvalue("<OBJECT FULL PATH>.DecimalSeparator")
-- Write to the DecimalSeparator
inmation.setvalue("<OBJECT FULL PATH>.DecimalSeparator", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the DecimalSeparator
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.DecimalSeparator"));
// Write to the DecimalSeparator
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.DecimalSeparator"));