easydigitaldownloads/Easy-Digital-Downloads — pull request #1998 by JustinSainton (2014-02-08 01:58:01+00:00)
Title: Make edd_format_amount() non-currency friendly

When a second optional parameter is passed ($decimals, defaults to true) as false, no decimal places are returned. This is helpful when formatting non-currency numbers.