\$\begingroup\$

Sandbox

Given two positive integers a and b, return the smallest multiple of b that is greater than or equal to a.

Examples

Definitions: true = is a multiple of b , false = is not a multiple of b .

f(1,3) = 3 because 1 is false, 1+1 is false, but 1+1+1 is true. Therefore 3 is returned.

f(5,3) = 6 because 5 is false, but 5+1 is true. Therefore 6 is returned.

f(9,3) = 9 because 9 is already a multiple of 3.

f(12,5) = 15 because 12 is false, 12+1 is false, 12+2 is false, but 12+3 is true. Therefore 15 is returned.

Rules

Input/output can be given by any convenient method.

You can print it to STDOUT or return it as a function result.

Either a full program or a function are acceptable.

Any amount of extraneous whitespace is permitted, provided the characters line up appropriately.

Standard loopholes are forbidden.

This is code-golf so all usual golfing rules apply, and the shortest code (in bytes) wins.

The Catalogue

The Stack Snippet at the bottom of this post generates the catalogue from the answers a) as a list of shortest solution per language and b) as an overall leaderboard.

To make sure that your answer shows up, please start your answer with a headline, using the following Markdown template:

## Language Name, N bytes

where N is the size of your submission. If you improve your score, you can keep old scores in the headline, by striking them through. For instance:

## Ruby, <s>104</s> <s>101</s> 96 bytes

If there you want to include multiple numbers in your header (e.g. because your score is the sum of two files or you want to list interpreter flag penalties separately), make sure that the actual score is the last number in the header:

## Perl, 43 + 2 (-p flag) = 45 bytes

You can also make the language name a link which will then show up in the snippet:

## [><>](https://esolangs.org/wiki/Fish), 121 bytes