The OpenD Programming Language

Decimal.fromStringWithThousandsSeparatorImpl

Handle thousand separators for non exponential numbers.

struct Decimal(uint size64)
@safe @trusted
bool
fromStringWithThousandsSeparatorImpl
(
C
bool allowSpecialValues = true
bool allowStartingPlus = true
bool allowLeadingZeros = 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