Ledger Plaintext Accounting
Ledger Plaintext Accounting: Ledger Plaintext Accounting: specialized toolkit for 3+ finance workflows covered in the triggers section.
Overview
Constraints
Evidence Quality
Medium confidence — review before critical use
82 non-negotiable constraints
WHENWhen implementing Numscript monetary calculations
ACTIONuse MonetaryInt based on *big.Int to represent monetary amounts
CONSEQUENCEUsing float64 for monetary amounts causes rounding errors, leading to incorrect balance calculations and potential financial losses due to precision loss in currency computations
WHENWhen executing Numscript VM
ACTIONcall ResolveResources() before Execute() to initialize variables and constants
CONSEQUENCEExecute panics with ErrResourcesNotInitialized when called before resource resolution, preventing any script execution
WHENWhen executing Numscript VM
ACTIONcall ResolveBalances() before Execute() to populate account balances
CONSEQUENCEExecute panics with ErrBalancesNotInitialized when called before balance resolution, causing script execution to fail
FAQ
Discussion (0)
No comments yet. Be the first to share!
Changelog
v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.