Financial Calculations
CommunityPrecise financial math for LivestockAI workflows.
Authorcaptjay98
Version1.0.0
Installs0
System Documentation
What problem does it solve?
LivestockAI relies on precise decimal arithmetic for financial calculations, preventing rounding errors and ensuring consistent currency handling across modules.
Core Features & Use Cases
- Decimal precision: standardizes monetary values as DECIMAL(19,2) and provides conversion utilities (toDecimal, toNumber, toDbString) for safe calculations.
- Currency utilities: centralizes currency formatting and arithmetic to reduce drift and improve reporting.
- Profit & cost calculations: supports common patterns like batch total cost, profit, and cost breakdowns using a consistent API.
Quick Start
Use the provided currency utilities to compute the total cost for 100 units at 5.25 per unit.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Financial Calculations Download link: https://github.com/captjay98/livestockai/archive/main.zip#financial-calculations Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.