| GrapeCity.CalcEngine Namespace > CalcConvert Class : ToInt Method | 
'Usage Dim value As Object Dim value As Integer value = CalcConvert.ToInt(value)
| Exception | Description | 
|---|---|
| System.InvalidCastException | Can not convert value to System.Int32 | 
Target Platforms: Windows Server 2012, Windows RT