Last active
June 2, 2020 07:35
-
-
Save DScheglov/62a6a15db6b17e42ad62fd7b895cc84e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const amountToString = amount => ( | |
amount < 0 ? `(${-amount})` : `${amount}` | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment