UNPKG

@agentica/benchmark

Version:

Agentic AI Library specialized in LLM Function Calling

17 lines (15 loc) 336 B
/** * @module * This file contains functions to work with MathUtil. * * @author Wrtn Technologies */ export const MathUtil = { /** * Round a number to 2 decimal places. * * @param value - The number to round. * @returns The rounded number. */ round: (value: number): number => Math.floor(value * 100) / 100, };