42
80766866
# \d+(_\d+)*
i, j := 42, 2701
-- [0-9]+
PLDB=80766866
// [0-9][0-9_]*
-- \d(_*\d)*
# [0-9]+
# \d(_?\d)*
% [+-]?(?:[2-9]|[12][0-9]|3[0-6])#[0-9a-zA-Z]+
% \d\d?\'[a-zA-Z0-9]+
-- [0-9_]+
# \d{4}-\d{2}-\d{2}(?:T| )\d{2}:\d{2}:\d{2}(?:Z|[-+]\d{2}:\d{2})
-- [0-9]+(?=[^0-9a-z$_\u0080-\uffff])
// \d[\d_]*
// (0|[1-9][0-9_]*)([LUu]|Lu|LU|uL|UL)?
-- _?\d+
// [0-9]+
// \d[\d_]*[uU]?[yslLnQRZINGmM]?
let age = 30
-- \d{1,2}#[0-9a-f_]+#?
\ (\#|%|&|\-|\+)?[0-9]+
// \d+[LlUu]*
NB. _?\d+
* [0-9]+
// ([0-9]+)|(\'d)[0-9]+
int x = 314159;
; \d+
% (\-|\+)?[0-9]+(?=[()<>\[\]{}/%\s])
-- [0-9]+L?
% \d+
# [+\-]?\d+
# \d+([eE][+-]?\d+)?
-- [-+]?\d+
// \d{1,3}(_\d{3})+[kMGTP]?
// ([1-9][_0-9]*)?\s*\'[sS]?[dD]\s*[xXzZ?0-9][_xXzZ?0-9]*
// \d+
/ [0-9]+[ihtuv]
# -?\d[\d_]*
// (0|[1-9][0-9_]*)([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
# \d+
(let x int 42)
count = 0
# [0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?
# \d+j?
# [+-]?[0-9]+
12345
0b0001010101
0455
0xDFF90
CALKOWITE: I
I = 80766866
// The same as c
// 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.