Skip to content

Commit 0664359

Browse files
committed
fix all errors
1 parent 1bf7cd3 commit 0664359

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-1/3-mandatory-interpret/3-to-pounds.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ console.log(`£${pounds}.${pence}`);
3030
// 2. const paddedPenceNumberString = penceStringWithoutTrailingP.padStart(3, "0"): creates a new string variable that pads the original string with leading zeros to make it 3 characters long
3131
// 3. const pounds = paddedPenceNumberString.substring(0, paddedPenceNumberString.length - 2): extracts the pounds portion of the string by taking all characters except the last two
3232
// 4. const pence = paddedPenceNumberString.substring(paddedPenceNumberString.length - 2).padEnd(2, "0"): extracts the pence portion of the string by taking the last two characters and pads it with trailing zeros to make it 2 characters long
33-
// 5. console.log(`£${pounds}.${pence}`): outputs the final formatted price in pounds and pence to the console
33+
// 5. console.log(`£${pounds}.${pence}`): outputs the final formatted price in pounds and pence to the console

0 commit comments

Comments
 (0)