aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
authorEduardo Julian2016-12-25 19:51:08 -0400
committerEduardo Julian2016-12-25 19:51:08 -0400
commit2eeb6682e3db5aaba550ebc58a6e1322430c5b17 (patch)
treef68779e2450ef3451e7627a47a7c39a248e297c5 /stdlib/source
parent364a08a67925c42e987ffaf6a3471680b7b82d10 (diff)
- Now, only using underscores (_) as number digit separators, without using commas (,).
Diffstat (limited to 'stdlib/source')
-rw-r--r--stdlib/source/lux/data/number.lux3
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>)