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

# TWordHelper.ToBoolean

Convert to a boolean value

## Declaration

Source position: syshelph.inc line 470

`public function TWordHelper.ToBoolean: Boolean;`

## Description

ToBoolean converts the Word value to a boolean: it returns True if the value is nonzero, False if it is zero.

## See also

TWordHelper.ToSingle |  | Convert to an single-sized floating point value
TWordHelper.ToDouble |  | Convert to a double-sized floating point value
TWordHelper.ToExtended |  | Convert to an extended-sized floating point value
TWordHelper.ToString |  | Convert the value to string
TWordHelper.ToHexString |  | Convert to a hexadecimal string representation

Documentation generated on: May 14 2021