Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.