6 kyu

Write Number in Expanded Form - Part 2

889 of 2,108Belax8

Description:

Write Number in Expanded Form - Part 2

This is version 2 of my 'Write Number in Exanded Form' Kata.

You will be given a number and you will need to return it as a string in expanded form :

expanded form illustration

For example:

807.304 --> "800 + 7 + 3/10 + 4/1000"
  1.24  --> "1 + 2/10 + 4/100"
  7.304 --> "7 + 3/10 + 4/1000"
  0.04  --> "4/100"
Mathematics
Algorithms
Fundamentals

More By Author:

Check out these other kata created by Belax8

Stats:

CreatedMar 18, 2017
PublishedMar 18, 2017
Warriors Trained4642
Total Skips151
Total Code Submissions10961
Total Times Completed2108
JavaScript Completions889
Python Completions1160
C Completions59
Rust Completions44
Total Stars161
% of votes with a positive feedback rating95% of 458
Total "Very Satisfied" Votes419
Total "Somewhat Satisfied" Votes30
Total "Not Satisfied" Votes9
Total Rank Assessments10
Average Assessed Rank
5 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Belax8 Avatar
  • docgunthrop Avatar
  • clcraig Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
  • Direct-A Avatar
Ad