UNPKG

bmad-agent-init

Version:

Windsurf integration for BMAD-METHOD - automatic initialization of bmad-agent in projects

12 lines (10 loc) • 284 B
"use strict"; exports.getRoundingMethod = getRoundingMethod; function getRoundingMethod(method) { return (number) => { const round = method ? Math[method] : Math.trunc; const result = round(number); // Prevent negative zero return result === 0 ? 0 : result; }; }