Skip to content

cotrTypesInt

The PHP int type.

Aliases:

  • cotrTypesInt
  • intType
  • typeInt

cpp

int

csharp

int

dart

int

go

int

haskell

Int

java

int

javascript

let integer = Math.floor1);

javascriptreact

let integer = Math.floor1);

kotlin

Int

perl

# Perl uses scalars for integers.

php

int

powershell

Terminal window
[int]

python

int

r

# R uses 'numeric' for both integers and floating-point numbers.

ruby

Integer

rust

i32

scala

Int

shellscript

Terminal window
# Bash treats integers as numeric values without decimals.

swift

Int