The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Decimal.fromStringImpl
mir
bignum
decimal
Decimal
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
(
isSomeChar
!
C
)
if
(
size64
&&
size64
<= ushort.
max
)
Return Value
Type:
bool
false in case of overflow or incorrect string.
Meta
Source
See Implementation
mir
bignum
decimal
Decimal
constructors
this
functions
fromStringImpl
fromStringWithThousandsSeparatorImpl
isInfinity
isNaN
isSpecial
opAssign
opCast
opOpAssign
toString
view
variables
coefficient
exponent