diff options
| author | Eduardo Julian | 2016-12-25 19:51:08 -0400 |
|---|---|---|
| committer | Eduardo Julian | 2016-12-25 19:51:08 -0400 |
| commit | 2eeb6682e3db5aaba550ebc58a6e1322430c5b17 (patch) | |
| tree | f68779e2450ef3451e7627a47a7c39a248e297c5 /stdlib/source | |
| parent | 364a08a67925c42e987ffaf6a3471680b7b82d10 (diff) | |
- Now, only using underscores (_) as number digit separators, without using commas (,).
Diffstat (limited to '')
| -rw-r--r-- | stdlib/source/lux/data/number.lux | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/number.lux b/stdlib/source/lux/data/number.lux index 7d33da387..1a104071f 100644 --- a/stdlib/source/lux/data/number.lux +++ b/stdlib/source/lux/data/number.lux @@ -158,8 +158,7 @@ (def: clean-number (-> Text Text) - (|>. (text.replace "," "") - (text.replace "_" ""))) + (text.replace "_" "")) (do-template [<type> <encode> <decode> <error>] [(struct: #export _ (Codec Text <type>) |
