KilogramsToPounds(value)
Last updated May 9, 2003
Version: 1 | Requires: ColdFusion 5 | Library: ScienceLib
Description:
Kilograms to pounds conversion.
Return Values:
Returns a number.
Example:
<cfset pounds = KilogramsToPounds(myvalue)>
<cfdump var="Pounds: #pounds#">
Parameters:
| Name | Description | Required |
|---|---|---|
| value | Weight in kilograms. | Yes |
Full UDF Source:
<cfscript>
/**
* 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;
}
</cfscript>
Search CFLib.org
Latest Additions
Tayo Akinmade added
arrayTrim
4 day(s) ago
Will Belden added
longTime
9 day(s) ago
James Sleeman added
quickSort
19 day(s) ago
Ben Forta added
GetHostAddress
22 day(s) ago
Top Rated
EksporSQLData
Rated 5.0, 16 time(s)
backupDatabase
Rated 5.0, 13 time(s)
indentXml
Rated 5.0, 10 time(s)
generateSsccAsn
Rated 5.0, 4 time(s)