Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 617 Bytes

eth-connect.fromtwoscomplement.md

File metadata and controls

25 lines (15 loc) · 617 Bytes

Home > eth-connect > fromTwosComplement

fromTwosComplement() function

If the bit N is 1

Signature:

export declare function fromTwosComplement(num: BigNumber, bits?: number): BigNumber;

Parameters

Parameter Type Description
num BigNumber
bits number (Optional)

Returns:

BigNumber