<cffunction name="GetDecimal2" access="public" returntype="numeric" output="false" hint="Returns the decimal value of the given number (as an integer)."> <!--- Define arguments. ---> <cfargument name="Value" type="numeric" required="true" /> <!--- To get the decimal value, we are going to treate the value as a list with a decimal-point delimiter. When doing this, we will append our own value to make sure that the list has at least TWO (maybe three if there is already a decimal place) list items. ---> <cfreturn ListGetAt( (ARGUMENTS.Value & ".0"), 2, "." ) /> </cffunction>