DarkMatter.Decimals.rounded-question-mark

You're seeing just the function rounded-question-mark, go back to DarkMatter.Decimals module for more information.

Specs

Rounds whether an x of type DarkMatter.numeric/0 is already rounded according to opts

Examples

iex> rounded?(25.11, round_up: 50)
false

iex> rounded?(50, round_up: 50)
true

iex> rounded?(0, round_up: 50)
true