Share via


VendOutPaym_NACHA.num2StrNACHA Method [AX 2012]

Converts a currency value to the format '$$$$$$cc' where '$' represents a dollar value, and 'c' represents the cents value, without a decimal.

Syntax

public TempStr num2StrNACHA(real value, int lgth)

Run On

Called

Parameters

  • value
    Type: real
    The currency value.
  • lgth
    Type: int
    The length of the string to return. The string returned will be padded with leading '0' characters if the length of the currency value is less than lgth.

Return Value

Type: TempStr Extended Data Type
A string in the format '$$$$$$cc' where '$' represents a dollar value, and 'c' represents the cents value, without a decimal.

Remarks

This is the required format for currency values in the NACHA file format specification.

See Also

Reference

VendOutPaym_NACHA Class