Skip to content
Back to skills

Money Handling

ASecurity

Represent and compute money correctly: integer minor units, currency codes, rounding rules, taxes and display formatting.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agents

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill money-handling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Money Handling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Money Handling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-money-handling/badge)](https://www.skillsdirectory.com/skills/karthikrshet-money-handling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: money-handling
description: "Represent and compute money correctly: integer minor units, currency codes, rounding rules, taxes and display formatting."
tags: [payments]
---

# Money Handling

## When to use

- Any monetary amount

## Procedure

1. Store amounts as integers in minor units with currency
2. Use decimal libraries for division/percentages
3. Define rounding (banker's vs half-up) per rule
4. Allocate remainders deterministically
5. Format with Intl.NumberFormat("en-IN", {style:"currency", currency:"INR"})

## Checklist

- [ ] No floats anywhere
- [ ] Rounding documented

## Anti-patterns

- 0.1 + 0.2 bugs
- Storing formatted strings

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.