6 kyu
Number Format
1,373 of 3,382cnawaraj
Description:
Format any integer provided into a string with "," (commas) in the correct places.
Example:
For n = 100000 the function should return '100,000';
For n = 5678545 the function should return '5,678,545';
for n = -420902 the function should return '-420,902'.
Regular Expressions
Fundamentals
Similar Kata:
Stats:
Created | Nov 30, 2015 |
Published | Nov 30, 2015 |
Warriors Trained | 5120 |
Total Skips | 241 |
Total Code Submissions | 12708 |
Total Times Completed | 3382 |
JavaScript Completions | 1373 |
C# Completions | 447 |
C++ Completions | 369 |
Python Completions | 1181 |
Ruby Completions | 109 |
Crystal Completions | 15 |
CoffeeScript Completions | 11 |
Total Stars | 53 |
% of votes with a positive feedback rating | 88% of 591 |
Total "Very Satisfied" Votes | 475 |
Total "Somewhat Satisfied" Votes | 95 |
Total "Not Satisfied" Votes | 21 |
Total Rank Assessments | 65 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 4 kyu |
Lowest Assessed Rank | 8 kyu |