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 ee36551 commit c05000bCopy full SHA for c05000b
Sprint-2/3-mandatory-implement/3-to-pounds.js
@@ -7,7 +7,7 @@
7
function formatPenceToPounds(penceString){
8
const penceStringWithoutTrailingP = penceString.substring(0, penceString.length -1);
9
const pounds = paddedPenceNumberString.slice(0, -2);
10
- return `£${pounds}.${pence}`;
+ return `£${pounds}.${pence}`;
11
}
12
13
console.log(formatPenceToPounds("9p"));
0 commit comments