KilogramsToPounds(value)
Last updated May 09, 2003
Version: 1 | Requires: CF5 | Library: ScienceLib
Description:
Kilograms to pounds conversion.
Return Values:
Returns a number.
Example:
<cfset myvalue = 125>
<cfset pounds = KilogramsToPounds(myvalue)>
<cfdump var="Pounds: #pounds#">
Parameters:
Name | Description | Required |
---|---|---|
value | Weight in kilograms. | Yes |
Full UDF Source:
/**
* Kilograms to pounds conversion.
*
* @param value Weight in kilograms. (Required)
* @return Returns a number.
* @author Casey Broich (cab@pagex.com)
* @version 1, May 9, 2003
*/
function KilogramsToPounds(value) {
var t = '0';
if(value gt 0) t = value*2.2046;
return t;
}
Search CFLib.org
Latest Additions
Raymond Camden added
QueryDeleteRows
November 04, 2017
Leigh added
nullPad
May 11, 2016
Raymond Camden added
stripHTML
May 10, 2016
Kevin Cotton added
date2ExcelDate
May 05, 2016
Raymond Camden added
CapFirst
April 25, 2016