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 5c9e5f7 commit 9cc908bCopy full SHA for 9cc908b
Sprint-1/3-mandatory-interpret/3-to-pounds.js
@@ -28,9 +28,6 @@ console.log(`£${pounds}.${pence}`);
28
29
/*
30
31
-1. const penceString = "399p";
32
-Initializes a string variable with the value "399p", representing a price in pence with a trailing "p".
33
-
34
2. const penceStringWithoutTrailingP = penceString.substring(0, penceString.length - 1);
35
Removes the trailing "p" character from the string, leaving only the numeric part (e.g., "399").
36
0 commit comments