Quai Network Docs home pagelight logodark logo
  • Developer Discord
  • Claim Rewards
  • Quai Network
  • Quai Network
Utils
Numeric
Learn
Build
SDK
Client
Guides
Get Involved
Getting Started
  • Introduction
Fundamentals
  • Addresses
  • Smart Contracts
  • Network Providers
  • Transactions
  • Wallets
  • Examples
Reference
  • Address
  • Application Binary Interface
  • Constants
  • Contract
  • Crypto
  • Encoding
  • Hash
  • Other
  • Providers
  • Signers
  • Transaction
  • Utils
    • EventPayload
    • FetchRequest
    • FetchResponse
    • FixedNumber
    • ActionRejectedError
    • BadDataError
    • BufferOverrunError
    • CallExceptionError
    • CancelledError
    • EventEmitterable
    • InsufficientFundsError
    • InvalidArgumentError
    • MissingArgumentError
    • NetworkError
    • NonceExpiredError
    • NotImplementedError
    • NumericFaultError
    • ReplacementUnderpricedError
    • ServerError
    • TimeoutError
    • TransactionReplacedError
    • UnexpectedArgumentError
    • UnknownError
    • UnsupportedOperationError
    • quaisError
    • BigNumberish
    • BytesLike
    • CallExceptionAction
    • CallExceptionTransaction
    • CodedquaisError
    • FetchGatewayFunc
    • FetchGetUrlFunc
    • FetchPreflightFunc
    • FetchProcessFunc
    • FetchRetryFunc
    • FixedFormat
    • GetUrlResponse
    • Listener
    • Numeric
    • concat
    • dataLength
    • dataSlice
    • formatQi
    • formatQuai
    • formatUnits
    • fromTwos
    • getAddressDetails
    • getBigInt
    • getBytes
    • getBytesCopy
    • getNumber
    • getTxType
    • getUint
    • getZoneForAddress
    • hexlify
    • isBytesLike
    • isCallException
    • isError
    • isHexString
    • makeError
    • mask
    • parseQi
    • parseQuai
    • parseUnits
    • stripZerosLeft
    • toBeArray
    • toBeHex
    • toBigInt
    • toNumber
    • toQuantity
    • toTwos
    • uuidV4
    • zeroPadBytes
    • zeroPadValue
  • Wallet
  • Wordlists
Utils

Numeric

type Numeric: number | bigint;

Any type that can be used where a numeric value is needed.

​
Source

utils/maths.ts:14

Was this page helpful?

Suggest editsRaise issue
Listenerconcat
xgithublinkedin
Powered by Mintlify
On this page
  • Source