SetNumberFormattingUserParameters

Sets the user’s decimal and thousands separator characters.

Syntax

<HsvSystemInfo>.SetNumberFormattingUserParameters wcDecimalChar, wcThousandsChar

Argument

Description

wcDecimalChar

Integer (ByVal). The double-byte Integer that identifies the decimal character to be set.

wcThousandsChar

Integer (ByVal). The double-byte Integer that identifies the thousands separator character to be set.

Example

The following example sets a comma as the decimal character and a period as the thousands separator character.

Dim cSystemInfo As HsvSystemInfo
'g_cSession is an HsvSession object reference
Set cSystemInfo = g_cSession.SystemInfo
cSystemInfo.SetNumberFormattingUserParameters AscW(","), _
    AscW(".")