EctoRanked.Utils (ecto_ranked v0.6.0)

Provides utilities for EctoRanked

Summary

Functions

Returns the first integer greater or equal than the provided value

Functions

@spec ceiling(float()) :: integer()

Returns the first integer greater or equal than the provided value

Examples

iex> EctoRanked.Utils.ceiling(2.4)
3