Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Integers

< >
Example from 1 languages: MoonBit
42
Example from 6 languages: JavaScript, JSON, Lua, Julia, Lil, Uniform eXchange Format
80766866
Example from 2 languages: C, C#
int pldb = 80766866;
Example from 3 languages: Python, Ruby, Speedie
pldb = 80766866
Example from 2 languages: Java, AspectJ
// 0|[1-9][0-9_]*[lL]?
Example from 1 languages: Perl
# \d+(_\d+)*
Example from 1 languages: Go
i, j := 42, 2701
Example from 3 languages: SQL, Eiffel, Transact-SQL
-- [0-9]+
Example from 1 languages: Bash
PLDB=80766866
Example from 1 languages: Swift
// [0-9][0-9_]*
Example from 1 languages: Haskell
-- \d(_*\d)*
Example from 3 languages: Clojure, Fennel, Hy
; -?\d+
Example from 2 languages: CoffeeScript, awk
# [0-9]+
Example from 1 languages: Elixir
# \d(_?\d)*
Example from 1 languages: Erlang
% [+-]?(?:[2-9]|[12][0-9]|3[0-6])#[0-9a-zA-Z]+
Example from 1 languages: Prolog
% \d\d?\'[a-zA-Z0-9]+
Example from 1 languages: Ada
-- [0-9_]+
Example from 1 languages: TOML
# \d{4}-\d{2}-\d{2}(?:T| )\d{2}:\d{2}:\d{2}(?:Z|[-+]\d{2}:\d{2})
Example from 1 languages: MySQL
-- [0-9]+(?=[^0-9a-z$_\u0080-\uffff])
Example from 1 languages: Reason
// \d[\d_]*
Example from 1 languages: D
// (0|[1-9][0-9_]*)([LUu]|Lu|LU|uL|UL)?
Example from 1 languages: Elm
-- _?\d+
Example from 8 languages: Chapel, Koka, Zephir, QML, POV-Ray SDL, SuperCollider, Whiley, Alloy
// [0-9]+
Example from 1 languages: F#
// \d[\d_]*[uU]?[yslLnQRZINGmM]?
Example from 1 languages: Gleam
let age = 30
Example from 1 languages: VHDL
-- \d{1,2}#[0-9a-f_]+#?
Example from 2 languages: Idris, Agda
-- \d+
Example from 1 languages: Forth
\ (\#|%|&|\-|\+)?[0-9]+
Example from 1 languages: Protocol Buffers
// \d+[LlUu]*
Example from 1 languages: J
NB. _?\d+
Example from 1 languages: ABAP
* [0-9]+
Example from 1 languages: Verilog
// ([0-9]+)|(\'d)[0-9]+
Example from 1 languages: C3
int x = 314159;
Example from 2 languages: AutoHotkey, AutoIt
; \d+
Example from 1 languages: PostScript
% (\-|\+)?[0-9]+(?=[()<>\[\]{}/%\s])
Example from 2 languages: VBScript, Monkey
' [0-9]+
Example from 1 languages: Pig Latin
-- [0-9]+L?
Example from 1 languages: GNU Octave
% \d+
Example from 1 languages: SPARQL
# [+\-]?\d+
Example from 1 languages: AMPL
# \d+([eE][+-]?\d+)?
Example from 1 languages: Applescript
-- [-+]?\d+
Example from 1 languages: Ceylon
// \d{1,3}(_\d{3})+[kMGTP]?
Example from 1 languages: SystemVerilog
// ([1-9][_0-9]*)?\s*\'[sS]?[dD]\s*[xXzZ?0-9][_xXzZ?0-9]*
Example from 4 languages: Scilab, Modelica, Io, Linden Scripting Language
// \d+
Example from 1 languages: K
/ [0-9]+[ihtuv]
Example from 1 languages: Golo
# -?\d[\d_]*
Example from 1 languages: Felix
// (0|[1-9][0-9_]*)([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
Example from 1 languages: Boo
# \d+
Example from 1 languages: Wax
(let x int 42)
Example from 1 languages: Cyber
count = 0
Example from 1 languages: LiveScript
# [0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?
Example from 2 languages: Icon, Unicon
# \b([+-]?[0-9]+[KMGTPkmgtp]?)\b
Example from 1 languages: GDScript
# \d+j?
Example from 2 languages: Croc, MiniD
// ([0-9][0-9_]*)(?![.eE])
Example from 1 languages: Ragel
# [+-]?[0-9]+
Example from 1 languages: Jule
12345 0b0001010101 0455 0xDFF90
Example from 1 languages: SAKO
CALKOWITE: I I = 80766866
Example from 1 languages: Crap
// The same as c
Example from 1 languages: Ion
// http://amzn.github.io/ion-docs/docs/spec.html null.int // A null int value 0 // Zero. Surprise! -0 // ...the same value with a minus sign 123 // A normal int -123 // Another negative int 0xBeef // An int denoted in hexadecimal 0b0101 // An int denoted in binary 1_2_3 // An int with underscores 0xFA_CE // An int denoted in hexadecimal with underscores 0b10_10_10 // An int denoted in binary with underscores
*

Languages with Integers include JavaScript, C, Python, Java, Perl, Ruby, Go, JSON, SQL, C#, Bash, Swift, Lua, Haskell, Clojure, CoffeeScript, Elixir, Erlang, Prolog, Julia, Mathematica, WebAssembly, Zig, Ada, TOML, MySQL, Reason, D, Elm, GraphQL, Chapel, awk, F#, Coq, OCaml, Gleam, ClojureScript, VHDL, Idris, Forth, Protocol Buffers, J, Lean, sed, F*, IDL, Fennel, ABAP, Pandas, ActionScript, Verilog, Pony, Hy, Puppet, C3, AutoHotkey, PostScript, Cython, XQuery, Eiffel, EDN, Koka, Zephir, VBScript, Janet, Pig Latin, QML, GNU Octave, Opa, Thrift, Futhark, Agda, SPARQL, AMPL, MoonBit, POV-Ray SDL, Lil, Applescript, Ceylon, SystemVerilog, QBasic, NumPy, Cryptol, HLSL, Scilab, GLSL, YANG, Turtle, K, AutoIt, Golo, Transact-SQL, Felix, Boo, chaiscript, AspectJ, SuperCollider, Meson, Wax, Nit, Gosu, Ioke, Modelica, Maxima, Shen, Cyber, Fancy, LiveScript, Xtend, SourcePawn, Io, PL/pgSQL, BlitzMax, Icon, Whiley, Nix, clay, Stan, GDScript, Monkey, OpenEdge ABL, Earl Grey, BlitzBasic, Croc, JSLT, Ragel, Alloy, Jule, Kal, Linden Scripting Language, FloScript, HOPE, Unicon, monte, Redcode, MiniD, SAKO, Uniform eXchange Format, JS++, Speedie, Flatline, Aardvark, parasail, Easytrieve, Crap, Pawn, Urbiscript, Ion, hecl, nimrod, AmbientTalk, Boogie, PromQL, Spice, boa, RQL, SARL, BALGOL, bag-format, CBOR data definition language, Procfile, Friendly Enough Expression Language, RAISE Specification Language, juttle

*

Languages without Integers include progsbase

*

View all concepts with or missing a hasIntegers measurement

*

Read more about Integers on the web: 1.

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements