aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/util.js
Commit message (Collapse)AuthorAgeFilesLines
* Removed logsDan Finlay2016-04-201-2/+0
|
* Fix floating point input bugDan Finlay2016-04-201-3/+11
| | | | | | When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals! Put this numeric normalization into a utility function with a test around it and got it working.
* Add leading zero to account balancesDan Finlay2016-04-161-1/+1
|
* ui - util - fixes#110 formatBalancekumavis2016-04-151-2/+2
|
* Fix eth resolutionDan Finlay2016-04-151-2/+7
| | | | | | | | utils.formatBalance was returning rounded ether, was not useful for displaying account balances. Now returns four decimal points, and is easily configurable for more, with passing tests. Spoiler alert: Don't you dare divide bignumber wei. Bignumber does not have decimals. Keep it as wei, format it as ether.
* Moved UI into repo with its own dependency stackDan Finlay2016-04-141-0/+102