more money converters
authorJason Etheridge <jason@esilibrary.com>
Mon, 10 Aug 2015 03:45:03 +0000 (23:45 -0400)
committerJason Etheridge <jason@esilibrary.com>
Mon, 10 Aug 2015 03:45:03 +0000 (23:45 -0400)
commit5542995c2884a63e7c28df7f983f2cbbcd1a27f1
tree63f2e55c68a1c8c4cdb35b08ee10109cf4b09de5
parentd8664b728feca9d94719810d16c76247b9ebf617
more money converters

migration_tools.attempt_money_from_pennies
and migration_tools.attempt_money_from_pennies6

Avoids dividing by 100 when doing the conversion

2nd argument, the fail value, should not be pennies

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
sql/base/base.sql