# MeterTickInterval

## Program ID

MetraPipeline.MTI.1

## Required Input Properties

Tag name | Value type | Description
duration | Long | Value to be rounded, in seconds.
mti | Long | Meter tick interval, in seconds.

## Required Output Properties

Tag name | Value type | Description
rounded_duration | decimal | Rounded value, in minutes.

## Additional Configuration Tags

None.

## Description

The MTI plug-ins rounds a value in seconds to the nearest meter tick interval. For example, this plug-in can be used to round call durations to the nearest six second interval. Common meter tick intervals are 6, 15, 30, and 60 seconds which are .1, .25, .5, and 1 minute respectively.

## Configuration Example

    <configdata>
        <duration>duration</duration>
        <mti>MTI</mti>
        <rounded_duration>ConnectionMinutes</rounded_duration>
    </configdata>