Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Integers > inttype


type integers used in integer data types

Calling Sequence

[i] = inttype(x)



a matrix of integers (see int8,...).


an integer.


inttype(x) returns an integer i which is the type of the entries of x as following:

1 : one byte integer representation;

2 : two bytes integer representation;

4 : four bytes integer representation;

11 : one byte unsigned integer representation;

12 : two bytes unsigned integer representation;

14 : four bytes unsigned integer representation.

If type of x is double then i is 0.



See Also

  • double — conversion from integer to double precision representation
  • iconvert — conversion to 1 or 4 byte integer representation
  • int8 — conversion to one byte integer representation
Report an issue
<< int8 Integers Strings >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:46:52 CEST 2014