Currency_SetLeadingZero()

Examples


The Currency_SetLeadingZero() function defines whether a currency value less than 1 and greater than -1 will be displayed with a leading zero when the specified multiformat value is applied to a currency field.

Syntax

Currency_SetLeadingZero(multiformat_value, leading_zero)

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.

leading_zero – A boolean value indicating whether a leading zero will be added to values less than 1 and greater than -1:

[spacer]

Value

Description

true

A leading zero will be used.

false

A leading zero won’t be used.


Return value

Boolean specified in the leading_zero parameter.


Documentation Feedback