View Source Guesswork.Constraint.Arithmetic.InternalVariable.Base36 (Guesswork v0.8.0)
A simple module for building the base36 string version of an integer.
Summary
Functions
Returns the base 36 string of the the integer prefixed with _
.
Functions
Returns the base 36 string of the the integer prefixed with _
.
## Examples
iex> Guesswork.Constraint.Arithmetic.InternalVariable.Base36.calculate(0) "_A" iex> Guesswork.Constraint.Arithmetic.InternalVariable.Base36.calculate(15) "_P" iex> Guesswork.Constraint.Arithmetic.InternalVariable.Base36.calculate(27) "_2" iex> Guesswork.Constraint.Arithmetic.InternalVariable.Base36.calculate(51) "_AP" iex> Guesswork.Constraint.Arithmetic.InternalVariable.Base36.calculate(1118) "_5C"