샘플
Isolate precision and rounding via Decimal.clone and treat precision as significant digits rather than decimal places
sha256:82916f62f33372aa0a1305381464d3550a96d6ee57d775a792c7bd88efeb60e2
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Isolate precision and rounding via Decimal.clone and treat precision as significant digits rather than decimal places HOW
- 패키지
- decimal.js 10.6.0
- 환경
- node
- 생성일
- 2026-08-16T07:28:39Z
컨트랙트
- assert setting precision configures significant digits rather than fractional decimal places
- assert toDecimalPlaces is required to round fractional places without truncating integers
- assert Decimal.clone creates an isolated constructor leaving global Decimal precision unaffected
- assert cloned instance operations compute using the caller constructor precision
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9