UNPKG

ski-din-calculator

Version:

Calculate a skier's DIN binding release value based on height, weight, age, skill level, and boot sole length

41 lines (40 loc) 1.17 kB
/** * Converts weight from pounds to kilograms. * @param pounds - Weight in pounds * @returns Weight in kilograms (rounded to 2 decimal places) * @example * ```typescript * convertLbsToKg(150) // returns 68.04 * ``` */ export declare function convertLbsToKg(pounds: number): number; /** * Converts height from inches to centimeters. * @param inches - Height in inches * @returns Height in centimeters (rounded to 2 decimal places) * @example * ```typescript * convertInchesToCm(70) // returns 177.8 * ``` */ export declare function convertInchesToCm(inches: number): number; /** * Converts height from centimeters to inches. * @param cm - Height in centimeters * @returns Height in inches (rounded to 2 decimal places) * @example * ```typescript * convertCmToInches(178) // returns 70.08 * ``` */ export declare function convertCmToInches(cm: number): number; /** * Converts weight from kilograms to pounds. * @param kg - Weight in kilograms * @returns Weight in pounds (rounded to 2 decimal places) * @example * ```typescript * convertKgToLbs(68) // returns 149.91 * ``` */ export declare function convertKgToLbs(kg: number): number;