Get_Fraction

Syntax: Get_Fraction(real realNumber)

Argument:

  • realNumber the real number whose fractional component is returned

Return Type: Real

Description: Extracts and returns the fractional component of the argument, realNumber.

Example:

if Get_Fraction(tranAmt) = 0.0
then CreateCase();

In the assumption that transactions with no fractions—even dollar amounts with no cents—have a high probability of being fraudulent, this rule creates a case when the fractional portion of the transaction amount is zero.

  • www.fico.com