ecto_ranked v0.1.1 EctoRanked.Utils

Provides utilities for EctoRanked

Summary

Functions

Returns the first integer greater or equal than the provided value

Functions

ceiling(value)
ceiling(float) :: integer

Returns the first integer greater or equal than the provided value

Examples

iex> EctoRanked.Utils.ceiling(2.4)
3