This is an English-language fictional programming exercise. Do not read or edit files, run commands, contact a network, use subagents, or save memory. Do not claim to have run tests. Return the complete corrected function in one JavaScript code block. Then explain the cause, the fix, one boundary case and what remains unverified.

percent uses the scale 0 through 100: 10 means ten percent, not 0.10. Fix the calculation and retain integer rounding with Math.round. Keep function name and argument order. Inputs are already validated.

function discountedCents(priceCents, percent) {
  return Math.round(priceCents * (1 - percent));
}
Do not invoke skills.