This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import{roundHalfUp}from"@/lib/math";
constKG_TO_LB=2.20462;
constCM_TO_IN=2.54;
/** kg → lb,ROUND_HALF_UP 保留 2 位(GD-13) */
exportfunctionkgToLb(kg: number):number{
returnroundHalfUp(kg*KG_TO_LB,2);
}
/** cm → in,ROUND_HALF_UP 保留 2 位(GD-13,内部哈希/展示用) */