Skip to content

simodima/kataNumbersInWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Problem Description The numberInWords Dojo link

It occurs now and then in real life that people want to write about money, especially about a certain amount of money. If it comes to cheques or contracts for example some nations have laws that state that you should write out the amount in words additionally to the amount in numbers to avoid fraud and mistakes. So if you want to transfer 745 $ to someone via cheque you have to fill out to fields:

745.00 $ (amount in numbers)

seven hundred and fourty five dollars (amount in words)

##Step 1

The Kata is now to write a little converter class or function (depends on your favourite language and flavour) to convert numbers into words.

##Step 2

The class is ready and there is a red unit test. Run bin/phpununit

##Step 3

Implement the Converter::convert public method. Do all of it test driven.

Releases

No releases published

Packages

No packages published

Languages