Arthur Britto
|
e955bc5bb9
|
JS: Fixes for add and subtract.
|
2012-12-08 18:15:37 -08:00 |
|
Arthur Britto
|
f8587c36c3
|
JS: Add is_zero and compareTo to Amount.
|
2012-12-08 17:55:37 -08:00 |
|
Arthur Britto
|
4126d149cc
|
JS: Add abs, add, and subtract to Amount.
|
2012-12-08 17:38:08 -08:00 |
|
Arthur Britto
|
8801a95409
|
JS: Rework NaN testing for Amount.
|
2012-12-08 17:08:15 -08:00 |
|
Arthur Britto
|
dda0769c5e
|
JS: Add is_native() to Currency.
|
2012-12-07 22:24:50 -08:00 |
|
Stefan Thomas
|
d3acc2cf75
|
Fix fractional part in to_human().
|
2012-12-06 11:25:51 -08:00 |
|
Stefan Thomas
|
a1ae6c1866
|
Set signed option to true by default and use "-" as prefix by default.
|
2012-12-03 19:25:48 -08:00 |
|
Stefan Thomas
|
33611cdede
|
Add signed option to to_human output.
|
2012-12-03 17:11:01 -08:00 |
|
Stefan Thomas
|
2e49493776
|
Add Amount.is_negative();
|
2012-12-03 15:34:51 -08:00 |
|
Stefan Thomas
|
665bd4b1de
|
Added set_issuer.
|
2012-12-03 14:28:36 -08:00 |
|
Stefan Thomas
|
2151572b8e
|
As per the wiki - if no issuer set, the txn json shouldn't contain one.
See: http://ripple.com/wiki/index.php/API_Example_Transactions#Basic_IOU_Send
|
2012-12-01 23:47:27 -08:00 |
|
Stefan Thomas
|
f1f7ccda52
|
Add digit group separator formatting to to_human().
|
2012-11-26 18:49:29 -08:00 |
|
Stefan Thomas
|
e94765d0da
|
Fix for non-native currencies in parse_human.
|
2012-11-26 18:49:29 -08:00 |
|
Stefan Thomas
|
6aa468f174
|
I think that comment belongs here.
|
2012-11-26 14:31:45 -08:00 |
|
Stefan Thomas
|
e8d357b6cd
|
Added parsing function for parsing human-entered amount.
|
2012-11-26 14:31:40 -08:00 |
|
Arthur Britto
|
67ce14e93f
|
JS: Add Amount.set_currency().
|
2012-11-26 13:06:48 -08:00 |
|
Arthur Britto
|
8a83251da7
|
JS: fixes for parsing amounts.
|
2012-11-26 12:59:52 -08:00 |
|
Arthur Britto
|
2af33273a5
|
Merge branch 'master' of github.com:jedmccaleb/NewCoin
|
2012-11-24 14:08:34 -08:00 |
|
Arthur Britto
|
49e6ca70ba
|
JS & UT: add et to vim setting.
|
2012-11-24 14:07:41 -08:00 |
|
Stefan Thomas
|
9f44aff370
|
Renamed to_pretty to to_human in accordance with Currency.to_human.
|
2012-11-23 20:14:34 -08:00 |
|
Stefan Thomas
|
731abf0140
|
Added pretty printing method to Amount.
|
2012-11-23 19:57:37 -08:00 |
|
Stefan Thomas
|
c311206c4c
|
Remote trailing whitespace and convert tabs-spaces mixture to spaces.
|
2012-11-23 18:59:20 -08:00 |
|
Stefan Thomas
|
fb48d60818
|
Added local consts variable for easier access to constants.
|
2012-11-23 18:55:55 -08:00 |
|
Arthur Britto
|
6e543dfb1d
|
JS: Fix and another unit-test.
|
2012-11-23 18:50:20 -08:00 |
|
Arthur Britto
|
19bdee89cd
|
Add UInt160.is_valid(), Amount.is_valid(), Currency.is_valid(), & Currency.is_valid_full().
|
2012-11-23 18:47:39 -08:00 |
|
Arthur Britto
|
d59ae37f3a
|
JS: Add is_valid() for UInt160 and Currency.
|
2012-11-23 18:30:43 -08:00 |
|
Arthur Britto
|
a44767fd5b
|
JS: Add a way to convert an amount to a number.
|
2012-11-19 12:53:37 -08:00 |
|
Arthur Britto
|
5e264d2255
|
JS: Fixes for currency comparison.
|
2012-11-17 17:31:25 -08:00 |
|
Arthur Britto
|
8d32892609
|
JS: Make currency and issuer private in Amount.
|
2012-11-09 17:33:37 -08:00 |
|
Arthur Britto
|
9174886dbc
|
JS and UT: XNS -> XRP
|
2012-11-09 15:05:32 -08:00 |
|
Arthur Britto
|
b271192547
|
Rework config.js to not be add to web pack.
|
2012-11-07 16:03:39 -08:00 |
|
Stefan Thomas
|
f4d951cd67
|
Added JS build script.
|
2012-11-07 12:49:52 -08:00 |
|
Stefan Thomas
|
fa3fab5816
|
Moved cpp code to src/cpp and js code to src/js.
|
2012-11-07 12:49:50 -08:00 |
|