Obsolete. Use type-specific conversion functions instead.
Converts the argument to an integer.
int convert::to-int(value)
Parameters
Name | Type | Description |
---|---|---|
value | int | value to be converted |
Return Value
value converted to integer. The function fails with an exception when the conversion is not possible.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions