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

Stats:

CreatedNov 30, 2015
PublishedNov 30, 2015
Warriors Trained5075
Total Skips238
Total Code Submissions12637
Total Times Completed3347
JavaScript Completions1364
C# Completions445
C++ Completions360
Python Completions1162
Ruby Completions108
Crystal Completions14
CoffeeScript Completions10
Total Stars53
% of votes with a positive feedback rating88% of 586
Total "Very Satisfied" Votes472
Total "Somewhat Satisfied" Votes93
Total "Not Satisfied" Votes21
Total Rank Assessments65
Average Assessed Rank
6 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • cnawaraj Avatar
  • GiacomoSorbi Avatar
  • Deantwo Avatar
  • Jotha Avatar
  • kazk Avatar
  • e.mihaylin Avatar
  • FArekkusu Avatar
  • hobovsky Avatar
  • ejini战神 Avatar
  • Just4FunCoder Avatar
  • yLaWy Avatar
  • LosBlobbos Avatar
Ad