Skip to content

Braga has been retired. The next public testnet is coming in September 2026. Read the announcement →

decFromUnits(units): DecValue

Defined in: src/attr/values.ts:265

A dec built from its scaled integer units — the inverse of decUnits.

bigint

DecValue

decFromUnits(3_500_000_000_000_000_000n) // dec("3.5")