You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello !
I have a value 100 wei, format to Ethereum with fallbackToScientific is true.
result is '100e-16',but the correct is 1.0e-16.
Same, 1000wei or 10000 wei all have the wrong result.
This's the code,fullRemainder should format to x.xx..,but it is not processed here.
Another option is delete the break,make result is 100e-18
From @xiaoluSF on September 21, 2018 8:50
Hello !
I have a value 100
wei
, format to Ethereum withfallbackToScientific
is true.result is '100e-16',but the correct is
1.0e-16
.Same, 1000
wei
or 10000wei
all have the wrong result.This's the code,
fullRemainder
should format tox.xx..
,but it is not processed here.Another option is delete the
break
,make result is100e-18
Copied from original issue: BANKEX/web3swift#224
The text was updated successfully, but these errors were encountered: