String_To_Num

Syntax: String_To_Num(inputString)

Argument:

  • inputString is a text string containing numerals.

Return Type: Real

Description: Converts a string of digits to a numeric value. This function is useful when a numeric string (such as a SIC code) needs to be stored for future comparisons.

Example:

if (CRTRAN25.availableCredit < 500) 
 then
 {ACCT_UDVCurrentAcquirerId = String_To_Num(CRTRAN25.acquirerId);}

This rule tests whether the transaction has an account available credit less of than 500. If so, it uses String_To_Num to transform the acquirerId to a numeric value and sets ACCT_UDV CurrentAcquirerId to this numeric value.

  • www.fico.com