6 kyu
Number Format
1,364 of 3,347cnawaraj
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 | 5075 |
Total Skips | 238 |
Total Code Submissions | 12637 |
Total Times Completed | 3347 |
JavaScript Completions | 1364 |
C# Completions | 445 |
C++ Completions | 360 |
Python Completions | 1162 |
Ruby Completions | 108 |
Crystal Completions | 14 |
CoffeeScript Completions | 10 |
Total Stars | 53 |
% of votes with a positive feedback rating | 88% of 586 |
Total "Very Satisfied" Votes | 472 |
Total "Somewhat Satisfied" Votes | 93 |
Total "Not Satisfied" Votes | 21 |
Total Rank Assessments | 65 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 4 kyu |
Lowest Assessed Rank | 8 kyu |