Commit 3932282b by Owo Sugiana

Penambahan thousand()

1 parent ca61aacb
dist
*.egg-info
__pycache__
0.1.2 2019-06-13
----------------
- Penambahan thousand()
0.1.1 2019-05-27
----------------
- FixLength yang bertipe N tidak di-int() saat get().
......
import locale
locale.setlocale(locale.LC_ALL, 'id_ID.utf8')
def thousand(n, float_point=0):
pattern = '%.{:d}f'.format(float_point)
return locale.format_string(pattern, n, True)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!