Doublefloatprecision – Echelon OpenLNS User Manual

Page 372

Advertising
background image

OpenLNS Programmer's Reference

335

DoubleFloatPrecision

Summary

Determines the precision that will be used when displaying

double-float values.

This property is implemented when the data stored in the

FormattedValue property is formatted as an ASCII

representation of a double precision floating-point value. It

specifies the default number of digits that will be used to

display the value.
Note: The FormatSpec object of each data point contains a

Precision property. This sets the precision that will be used to

display data stored in that data point. The

DoubleFloatPrecision property will only be used for a data

point if its Precision property is not set.

Availability

Local, full, lightweight, and independent clients.

Syntax

formatLocale.DoubleFloatPrecision = precision

Element

Description

formatLocale

The FormatLocale object being acted

upon.

precision

The double-float precision to use when

displaying data with this

FormatLocale

object.

The element has a range between 0–

17. This default value is 15.
You can write –1 to this property at

any time to return it to its default

value.

Data Type

Long.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

Advertising