Pecunia 0.9.0-alpha.22
Library using the ISO-4217 currency standard & a fixed monetary unit size
Loading...
Searching...
No Matches
Pecunia Library

Overview

Pecunia is a C++ library implementing the ISO-4217 currency standard with fixed monetary unit size. The library provides robust handling of monetary values with precise control over rounding and calculations.

Features

  • ISO-4217 currency standard implementation (Amendment 172)
  • Fixed monetary unit size with configurable precision
  • Comprehensive error handling with stack trace support
  • Support for currency symbols and localization
  • Robust mathematical operations with overflow protection

Library Structure

The library is organized into several main components:

Currency Handling

  • ISO-4217 code management
  • Currency symbol support
  • Country/region mapping

Monetary Operations

  • Precise arithmetic operations
  • Configurable rounding strategies
  • Overflow protection
  • Type-safe conversions

Error Management

  • Stack trace support
  • Comprehensive error reporting
  • Exception safety guarantees

Building and Installation

See the README for detailed build and installation instructions.

License

Licensed under the GNU Lesser General Public License v3.0 or later.