Skip to main content

PCMSSetExchRate

Syntax

void PCMSSetExchRate(Trip trip, long convRate)

Parameters

  • Trip trip – Handle to a trip.
  • convRate – The currency rate FROM U.S. dollars TO Canadian dollars, declared as long.

Description

Sets the exchange rate from U.S. to Canadian dollars, such as 13300 for ($1.33), for toll reports. It affects generated toll costs only. (A license for the Tolls add-on is required.)

Return Values

None

Sample Code

/* Set the conversion rate from U.S. dollars to Canadian dollars to $1.33 */
PCMSSetExchRate(trip, 13300)

Supported Since: PC*Miler Connect 23 Category: Trip Options

Last updated July 19, 2025.