Skip to content

FitzBrendan/cash-register-freeCodeCamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

cash-register-freeCodeCamp

Build JavaScript algorithm to calculate change due

Created 2 solutions to calculate change due

  1. created Object for currency values, using factor of 100 to address floating point decimals for currency
  2. created Array for currency values, using Math.floor and toFixed(2) to address floating point decimals

Releases

No releases published

Packages

No packages published