cock.convertInverse

Converts literal to numerical inverse mode names and vice versa.

Function

Synopsis

converted = cock.convertInverse ( input, forceliteral )

Arguments

number input
Input inverse mode, numerical or literal.
boolean forceliteral
Optional. Forces literal ("true") or numerical ("false") output. Will perform conversion regardless if not provided.

Returns

string converted
Converted inverse mode.

Remarks

Function will make no change if it was supplied with literal input and forced to output literal value. Same for numerical values.

See also


Personal tools