Getting The Decimal Part Of A Number In ColdFusion

<cffunction
	name="GetDecimal"
	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"
		/>
 
	<!---
		Once we have the numeric decimal value, we can
		convert it to a string so that we can use a regular
		expression replace to strip out the starting zero
		and decimal point.
	--->
	<cfreturn
		ToString(
			ARGUMENTS.Value - Fix( ARGUMENTS.Value )
			).ReplaceFirst(
				"^0?\.",
				""
				)
			/>
</cffunction>

For Cut-and-Paste