BlacKCaT27 / CurrencyEditText

A module designed to encapsulate the use of an Android EditText field for gathering currency information from a user. Supports all ISO-3166 compliant locales/currencies.
Apache License 2.0
339 stars 79 forks source link

Ignore Decimal Values #16

Closed janakagamini closed 7 years ago

janakagamini commented 8 years ago

Is there a way to disable the decimal value? I only care about whole dollar amounts.

BlacKCaT27 commented 8 years ago

Not currently, no. It wouldnt be difficult to add as an attribute, though. If you care to take a stab at a PR I'll review it. On Jun 28, 2016 12:05 AM, "Janaka Jayasuriya" notifications@github.com wrote:

Is there a way to disable the decimal value? I only care about whole dollar amounts.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BlacKCaT27/CurrencyEditText/issues/16, or mute the thread https://github.com/notifications/unsubscribe/AE_54ZwDDM6uDQ6VWuK3pzG_zqzUJmpPks5qQJ1ygaJpZM4I_uPO .

ghost commented 8 years ago

17 (:

BlacKCaT27 commented 7 years ago

Commented on your PR that this functionality is now available via the setDecimalDigits() method in v2.0. Closing this.