5 个仓库
Configuration of decimal precision and rounding rules for financial data storage.
Distinct from Monetary: Focuses on the configuration and storage rules rather than the runtime arithmetic objects.
Explore 5 awesome GitHub repositories matching software engineering & architecture · Precision Settings. Refine with filters or upvote what's useful.
Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as a multi-channel commerce platform that manages product catalogs, orders, and customers via a strongly typed GraphQL API. The platform is distinguished by its highly extensible architecture, featuring a customizable administrative dashboard where developers can inject custom React components and entity views. It supports multi-channel commerce, allowing the isolation of products, currencies, and regional catalogs from a single unified backend. The engine covers a broad range o
Defines specific rounding rules and decimal precision for how monetary values are persisted.
Beancount is a plain-text double-entry accounting system. It enforces zero-sum transactions, organizes accounts into a hierarchical five-type tree, and verifies balances at specific dates using precision-derived tolerances. Transactions are recorded in plain-text files with a strict syntax that supports currency-specific rounding, automatic interpolation of missing amounts, and comprehensive metadata including tags, links, and payee annotations. Beyond core bookkeeping, Beancount offers investment portfolio tracking with lot-based cost basis management, configurable booking strategies (FIFO,
Ledger rounds amounts, prices, and costs computed from balancing legs to a configurable number of decimals.
big.js 是一个用于 JavaScript 的任意精度十进制库,专为执行精确的十进制算术运算而设计。它提供了一套用于高精度加、减、乘、除的工具,以避免二进制浮点数表示中常见的舍入误差。 该库允许创建自定义数字构造函数,以便为不同类别的数字隔离精度设置和舍入规则。它支持可配置的全局精度以及特定的舍入行为(如截断或四舍五入到偶数),适用于除法和幂运算。 其能力范围涵盖基础算术、比较逻辑以及平方根和整数幂的计算。它还包括高精度格式化工具,可将数值转换为定点、指数或有效数字字符串。
Generates independent constructors to apply distinct precision and rounding rules to different number groups.
rippled is a peer-to-peer node implementation for the XRP Ledger. It serves as a distributed ledger consensus engine and a blockchain API gateway, allowing servers to validate transactions and maintain a shared, immutable sequence of ledger state. The project features a built-in decentralized exchange engine capable of executing atomic cross-currency payments and managing order books. It includes an on-chain asset management system for issuing and controlling fungible tokens and NFTs, as well as a Byzantine Fault Tolerant system for coordinating validators. The platform provides comprehensiv
Sets the number of decimal places used for exchange rate calculations to control trading precision.
hledger is a plain text accounting tool and double-entry ledger manager that stores financial transactions in human-readable text files. It functions as a financial reporting engine for generating balance sheets and income statements, and as a multi-currency investment tracker for managing commodity lots and capital gains. The project distinguishes itself by providing multi-interface data access, allowing users to interact with their financial data via a command line interface, a terminal user interface, and a web server. It features a market-price valuation system to calculate the current va
Adjusts decimal display based on defined commodity precision and rounding rules.