beautypg.com

Decimalpointcharacter, Decimalpointcharactersource – Echelon OpenLNS User Manual

Page 370

background image

OpenLNS Programmer's Reference

333

DecimalPointCharacter

Summary

Determines which will be used to indicate decimal places

when a formatted value is displayed as a scalar number

.

For example, if this property is set to the period character,

scalar values with decimal places would be displayed as

follows: 100.34, 78.4, 99.6, and so on. This applies to format

specifications that use the %f symbol in their text format

specification, such as SNVT_temp#US:

text("%f", *1.8+32(0:855))

You can use the

DecimalPointCharacterSource

property to

determine how the DecimalPointCharacter property should

be filled in.

Availability

Local, full, lightweight, and independent clients.

Syntax

formatLocale.DecimalPointCharacter = character

Element

Description

formatLocale

The FormatLocale object being acted

upon.

character

The specified symbol used to indicate

decimal places for this

FormatLocale

object. You can choose any printable

ASCII character.

Data Type

String.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

DecimalPointCharacterSource

Summary

Determines whether OpenOpenLNS should assign the

DecimalPointCharacter

property a value automatically based

on the Windows control panel Regional Options settings.

Availability

Local, full, lightweight, and independent clients.

Syntax

formatLocale.

DecimalPointCharacterSource

= source

Element

Description

formatLocale

The FormatLocale object being acted

upon.

source

The value of the

DecimalPointCharacterSource

property.
The possible values for this element,

which are contained in the

ConstFormatLocaleSource

constant,

are as follows:

0 lcaFormatLocaleSource