Skip to content

Remove money? #5

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
delirious-lettuce opened this issue Dec 1, 2017 · 1 comment
Open

Remove money? #5

delirious-lettuce opened this issue Dec 1, 2017 · 1 comment

Comments

@delirious-lettuce
Copy link

def money(N, numwidth=0, currency="$"):

In[16]: for test in (0, 1, -1, 1.23, 1., 1.2, 3.1341):
   ...:     print(f'${test:.2f}')
   ...: 
$0.00
$1.00
$-1.00
$1.23
$1.00
$1.20
$3.13
@progrmoiz
Copy link
Owner

What's the issue here? @delirious-lettuce

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants