Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

CDM.FITTOINTERVAL

Slots a raw number into a calculated interval.

Syntax

Description

This tag logs a raw number, such as age or income, as an interval (range). The raw number is converted into a range by the tag, which then stores the calculated value in a string.

Parameters

RAWNUMBER (required)
Input parameter. A string numeric value to fit into an interval.

TYPE (required)
Input parameter. Type of interval to which to fit the raw number. There are two default types defined in the commercedata.ini file: age and income. There can also be user-defined types. Each type has two variants: typelowest and typeinterval.

INTERVAL (required)
Input and output parameter. As input, name of variable to hold a calculated interval on output.

Example

Given default values of agelowest=5 and ageinterval=10, the following tag returns the value "5-14" in the variable range.

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.