aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 43f23ef..4f5b4fa 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -112,8 +112,6 @@ fn thousand_sep(inp:&str) -> String{
112 for (i,c) in inp.to_string().chars().rev().enumerate(){ 112 for (i,c) in inp.to_string().chars().rev().enumerate(){
113 if i % 3 == 0 && i != 0 && c.to_string() != "-"{ 113 if i % 3 == 0 && i != 0 && c.to_string() != "-"{
114 result_string.push_str(","); 114 result_string.push_str(",");
115 result_string.push(c);
116 continue
117 } 115 }
118 result_string.push(c) 116 result_string.push(c)
119 } 117 }