Exoddic v1.1.2 Exoddic.Converter.Uk

.uk-style traditional odds

Summary

Functions

Formatted as the nearest integer ratio with a denominator not larger than 1000

Callback implementation for Exoddic.Converter.from_prob/1

Callback implementation for Exoddic.Converter.to_prob/1

Functions

for_display(amount)

Formatted as the nearest integer ratio with a denominator not larger than 1000

from_prob(amount)

Callback implementation for Exoddic.Converter.from_prob/1.

to_prob(amount)

Callback implementation for Exoddic.Converter.to_prob/1.