Share

AcString::asDeci

C++

Adesk::Int32 asDeci(
    Adesk::UInt32 nFlags = kParseDefault
) const;

Description

Parses the current string as decimal and returns a signed integer.

Parameters

Parameters Description
nFlags Input bits specifying how to do the parsing

Returns

The integer value parsed from the string.

Remarks

Works during getBuffer mode.

Links

AcString

Previous Declaration

AutoCAD 2024 and earlier

ACBASE_PORT int asDeci(int nFlags = kParseDefault) const;

History

AutoCAD 2025

nFlags argument changed from unsigned int to Adesk::UInt32 and function now returns Adesk::Int32 instead of int.

Was this information helpful?