function toIntFromFloatimport { toIntFromFloat } from "https://deno.land/x/somefn@v0.31.0/js/decimal.ts"; toIntFromFloat(v: string): { int: number; precision: number; }将浮点数转为整数形式 (仅支持 15 位精度) Parametersv: stringReturns{ int: number; precision: number; }