We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9214f3 commit ee36551Copy full SHA for ee36551
1 file changed
Sprint-2/3-mandatory-implement/3-to-pounds.js
@@ -7,7 +7,6 @@
7
function formatPenceToPounds(penceString){
8
const penceStringWithoutTrailingP = penceString.substring(0, penceString.length -1);
9
const pounds = paddedPenceNumberString.slice(0, -2);
10
- const pence = paddedPenceNumberString.slice(-2);
11
return `£${pounds}.${pence}`;
12
}
13
0 commit comments