peerplays-network / getscatter-walletpack

2 stars 2 forks source link

Add function to convert human readable num to blockchain num #37

Closed mseaward closed 4 years ago

mseaward commented 4 years ago

A "human readable" number of "1" for a token/asset with a precision of "5" would be represented on the Peerplays blockchain as "100000". This PR adds a function and alters the unit tests to account for the UI number conversions to chain numbers.

Closes #36

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication