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 2 languages: Go, Wa-lang
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: TOML
# \d{4}-\d{2}-\d{2}(?:T| )\d{2}:\d{2}:\d{2}(?:Z|[-+]\d{2}:\d{2})
Example from 1 languages: Ada
-- [0-9_]+
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: C3
int x = 314159;
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 2 languages: AutoHotkey, AutoIt
; \d+
Example from 1 languages: PostScript
% (\-|\+)?[0-9]+(?=[()<>\[\]{}/%\s])
Example from 1 languages: SPARQL
# [+\-]?\d+
Example from 1 languages: Pig Latin
-- [0-9]+L?
Example from 2 languages: VBScript, Monkey
' [0-9]+
Example from 1 languages: GNU Octave
% \d+
Example from 1 languages: AMPL
# \d+([eE][+-]?\d+)?
Example from 1 languages: SystemVerilog
// ([1-9][_0-9]*)?\s*\'[sS]?[dD]\s*[xXzZ?0-9][_xXzZ?0-9]*
Example from 1 languages: Applescript
-- [-+]?\d+
Example from 1 languages: Ceylon
// \d{1,3}(_\d{3})+[kMGTP]?
Example from 1 languages: Toit
x := 0
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: LiveScript
# [0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?
Example from 1 languages: Cyber
count = 0
Example from 2 languages: Icon, Unicon
# \b([+-]?[0-9]+[KMGTPkmgtp]?)\b
Example from 1 languages: Jule
12345 0b0001010101 0455 0xDFF90
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: SAKO
CALKOWITE: I I = 80766866
Example from 1 languages: mmCIF
_atom_site.id 1
Example from 1 languages: Object File Format
3 3 1 # Example: number of vertices, faces, edges
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, Zig, WebAssembly, TOML, Ada, MySQL, Reason, GraphQL, D, Elm, Chapel, awk, Coq, OCaml, F#, Gleam, ClojureScript, VHDL, Idris, Forth, Protocol Buffers, C3, J, Lean, sed, IDL, F*, Fennel, ABAP, ActionScript, Verilog, Pony, Pandas, Hy, AutoHotkey, Puppet, PostScript, Cython, XQuery, Wa-lang, Eiffel, EDN, SPARQL, Koka, Pig Latin, Zephir, VBScript, Janet, Thrift, QML, GNU Octave, Opa, Agda, Futhark, MoonBit, AMPL, POV-Ray SDL, Lil, Turtle, AspectJ, SystemVerilog, Applescript, Ceylon, QBasic, HLSL, GLSL, NumPy, Cryptol, Toit, Scilab, K, AutoIt, YANG, Golo, Felix, Transact-SQL, Boo, chaiscript, SuperCollider, Meson, Wax, Nit, Gosu, Ioke, Maxima, Modelica, Shen, Xtend, LiveScript, Cyber, Fancy, Io, SourcePawn, Icon, PL/pgSQL, Nix, Whiley, BlitzMax, clay, Jule, GDScript, Stan, Monkey, OpenEdge ABL, GQL (Graph Query Language), Earl Grey, Croc, BlitzBasic, Alloy, Ragel, JSLT, Kal, Linden Scripting Language, Redcode, FloScript, HOPE, Unicon, monte, MiniD, SAKO, Aardvark, PLY, JS++, mmCIF, Speedie, Flatline, Object File Format, parasail, Mach, Easytrieve, Morloc, Cobrust, USSR, Lone, Crap, Pawn, NAAb, Uniform eXchange Format, Ion, Urbiscript, hecl, nimrod, IGES, AmbientTalk, PromQL, SAT, Boogie, 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 路 Add Prompt 路 Issues 路 About 路 Search 路 Keywords 路 Livestreams 路 Labs 路 Resources 路 Acknowledgements