# toInt32(a)

Interprets input as hex value and outputs it as a 32-bit signed integer

### Syntax

o_toInt32(a)
  a: number or text- value to be converted
  return: Int32 - input value converted to signed 32-bit integer

### Usage

Convert strings or numbers to signed 32-bit integers. Text inputs assumed to be in hex.

### Location

menu: veeos ==> Data ==> Conversion ==> toInt32

library: dataLib

### Example

o_toInt32("a34a") returns 41802
o_toInt32("478823") returns 4687907
o_toInt32(478823) returns 478823

### Notes

Input can be a scalar or an array. Also can be text or numerical. This varies from the built-in function asInt32() in that it assumes that text inputs are hex.

### Reference

### Dependencies

### Supported On

VEE 7.0+, all platforms

### See Also

toBinStr8, toBinStr16, toBinStr32, toBinStr64, toBinStrN, hexToInt, toUInt8, toInt16

© 2015-2017. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 24 February 2017 09:07.