ecto_ranked v0.5.0 EctoRanked.Utils

Provides utilities for EctoRanked

Link to this section Summary

Functions

Returns the first integer greater or equal than the provided value

Link to this section Functions

Link to this function

ceiling(value)
ceiling(float()) :: integer()

Returns the first integer greater or equal than the provided value

Examples

iex> EctoRanked.Utils.ceiling(2.4)
3