Currency_SetLeadingSymbol()

Examples


The Currency_SetLeadingSymbol() function specifies whether the currency symbol should appear before or after the value when the specified multiformat value is applied to a currency field.

Syntax

Currency_SetLeadingSymbol(multiformat_value, symbol_position)

Parameters

multiformat_value An integer value that you assign to the currency format being defined. If your application is integrating with Microsoft Dynamics GP, this value must be in the 3000-4999 range. If you’re creating a stand-alone application, this value must be in the 1000-2999 range.

symbol_position A boolean value indicating whether the currency symbol will be placed before or after the currency value:

[spacer]

Value

Description

true

A leading currency symbol will be used.

false

A trailing currency symbol will be used.


Return value

Boolean specified in the symbol_position parameter.


Documentation Feedback