Post Reopened by Xcali, Wheat Wizard, DJMcMayhem
4 deleted 21 characters in body

# Challenge:

Given two inputs, xx and yy, round x's secondx to last digitone less significant figure, then round it's new second to last digit again and againrepeat until it has yy number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the y will never be greater than the input number's length and will always be greater than 0.
Example:

x=32x = 32.64712,y=3, y = 3
32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  (Three unrounded digits left)
x=87525,y=2
x = 87525, y = 2
87525 -> 87530 -> 87500 -> 88000 (Two unrounded digits left)
x=454,y=3
x = 454, y = 3
454 -> 454 (Three unrounded digits left)


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the y will never be greater than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

# Challenge:

Given two inputs, x and y, round x to one less significant figure, then repeat until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the y will never be greater than the input number's length and will always be greater than 0.
Example:

x = 32.64712, y = 3
32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  (Three unrounded digits left)

x = 87525, y = 2
87525 -> 87530 -> 87500 -> 88000 (Two unrounded digits left)

x = 454, y = 3
454 -> 454 (Three unrounded digits left)


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

3 deleted 7 characters in body; edited title

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the input lengthy will never be more thangreater than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the input length will never be more than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the y will never be greater than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

Post Closed as "unclear what you're asking" by xnor, Wheat Wizard, O.O.Balance, Luis felipe De jesus Munoz, TheLethalCoder
2 added 94 characters in body

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the input length will never be more than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)
This

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the input length will never be more than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)
This is , so you should strive for the shortest answer.

# Challenge:

Given two inputs, x and y, round x's second to last digit, then round it's new second to last digit again and again until it has y number of unrounded digits left. (the decimal point does not count as a digit)

# Input & Output

Input can be a combination of strings and integers, e.g. you can have the input as a string and the output as an int, or vice versa.
The input number will never have 15 digits total, and the input length will never be more than the input number's length and will always be greater than 0.
Example:

x=32.64712,y=3, 32.64712 -> 32.6471 -> 32.647 -> 32.65 -> 32.7  Three unrounded digits left
x=87525,y=2, 87525 -> 87530 -> 87500 -> 88000 Two unrounded digits left
x=454,y=3, 454 -> 454 Three unrounded digits left


(steps shown just to clarify, you only need to output the last value.)

# Rules

• Trailing 0's are allowed
• 5's round up
• Standard loopholes apply

This is , so you should strive for the shortest answer.

1