The OpenD Programming Language

NumericSpec

Mir's numeric format specification

Note: the specification isn't complete an may be extended in the future.

Members

Enums

Format
enum Format

Variables

exponent
enum NumericSpec exponent;

Precise output with explicit exponent.

exponentChar
char exponentChar;

Defaults to 'e'

format
Format format;
human
enum NumericSpec human;

Human-frindly precise output.

plus
bool plus;

Adds '+' to positive numbers and +0.

separatorChar
char separatorChar;

Default valus is '\0' (no separators)

separatorCount
ubyte separatorCount;

Separator count

Meta