The OpenD Programming Language

Decimal.fromStringImpl

struct Decimal(uint size64)
@safe scope @trusted pure @nogc nothrow
bool
fromStringImpl
(
C
bool allowSpecialValues = true
bool allowDotOnBounds = true
bool allowDExponent = true
bool allowStartingPlus = true
bool allowUnderscores = true
bool allowLeadingZeros = true
bool allowExponent = true
bool checkEmpty = true
)
(
scope const(C)[] str
,
out DecimalExponentKey key
,
int exponentShift = 0
)
if (
size64 &&
size64 <= ushort.max
)

Return Value

Type: bool

false in case of overflow or incorrect string.

Meta