If inputTwo has more than 8 significant decimals, returns inputOne with as many significant decimals as possible up to the same amount as inputTwo Otherwise returns inputOne with as many significant decimals as possible, up to 8
formatInputDecimals(1.123456789123, 2.123456789000) // '1.123456789'formatInputDecimals(1.123456789123, 2.12345678912) // '1.12345678912'formatInputDecimals(1.123456789123, 2.1) // '1.12345679'
BigNumberish
Generated using TypeDoc
If inputTwo has more than 8 significant decimals, returns inputOne with as many significant decimals as possible up to the same amount as inputTwo Otherwise returns inputOne with as many significant decimals as possible, up to 8
Example