[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# StrToDWord

Convert string to DWord (cardinal)

## Declaration

Source position: sysstrh.inc line 132

`function StrToDWord(`
`const s: string`
`):DWord;`

## Description

StrToDWord will convert the string S to a DWord value, and returns the value.

## Errors

In case the string S is not a valid number, or is a value outside the DWord range, an EConvertError exception will be raised.

## See also

TryStrToDWord |  | Try to convert a string to DWord (cardinal)
StrToDWordDef |  | Convert string to DWord (cardinal), using default

Documentation generated on: May 14 2021