How to typespec a float range in Elixir?

You can’t have float range in typespecs. There is no such expressions by design.


Don’t forget to mark the correct answer