80766866
// 0|[1-9][0-9_]*[lL]?
int pldb = 80766866;
-- [0-9]+
# \d+(_\d+)*
-- [0-9]+(?=[^0-9a-z$_\u0080-\uffff])
i, j := 42, 2701
// [0-9][0-9_]*
-- [0-9_]+
-- \d(_*\d)*
PLDB=80766866
# \d(_?\d)*
% [+-]?(?:[2-9]|[12][0-9]|3[0-6])#[0-9a-zA-Z]+
// ([0-9]+)|(\'d)[0-9]+
// \d[\d_]*
# [0-9]+
// \d[\d_]*[uU]?[yslLnQRZINGmM]?
-- _?\d+
// (0|[1-9][0-9_]*)([LUu]|Lu|LU|uL|UL)?
-- \d{1,2}#[0-9a-f_]+#?
% (\-|\+)?[0-9]+(?=[()<>\[\]{}/%\s])
// [0-9]+
\ (\#|%|&|\-|\+)?[0-9]+
-- [-+]?\d+
* [0-9]+
// \d+[LlUu]*
# \d+([eE][+-]?\d+)?
# \d{4}-\d{2}-\d{2}(?:T| )\d{2}:\d{2}:\d{2}(?:Z|[-+]\d{2}:\d{2})
NB. _?\d+
; \d+
% \d+
// \d+
// \d{1,3}(_\d{3})+[kMGTP]?
# \d+
# [+\-]?\d+
// ([1-9][_0-9]*)?\s*\'[sS]?[dD]\s*[xXzZ?0-9][_xXzZ?0-9]*
int x = 314159;
# [0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?
-- [0-9]+L?
# -?\d[\d_]*
// 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
/ [0-9]+[ihtuv]
# [+-]?[0-9]+
// (0|[1-9][0-9_]*)([tTsSiIlLvV]|ll|LL|([iIuU])(8|16|32|64))?
12345
0b0001010101
0455
0xDFF90
# \d+j?
count = 0
Languages with Integers include Java, JavaScript, Python, C, SQL, C++, Perl, Ruby, C#, MySQL, JSON, Go, Swift, Ada, Haskell, TypeScript, Julia, Clojure, Prolog, Bash, Objective-C, Mathematica, Elixir, Erlang, ActionScript, Verilog, Reason, awk, CoffeeScript, F#, Elm, Eiffel, OCaml, D, GraphQL, VHDL, XQuery, PostScript, Chapel, WebAssembly, Forth, Applescript, VBScript, Idris, ABAP, Protocol Buffers, AMPL, sed, Coq, Monkey, BlitzBasic, Agda, Zig, TOML, J, AutoIt, Hy, Lean, GNU Octave, Zephir, Icon, Scilab, QML, Pony, EDN, Io, Opa, IDL, Ceylon, JSON5, Boo, QBasic, Turtle, F*, SPARQL, SystemVerilog, SuperCollider, Cython, POV-Ray SDL, PL/pgSQL, ClojureScript, MiniD, C3, Puppet, Ioke, Alloy, LiveScript, Modelica, AutoHotkey, Speedie, Pig Latin, Thrift, Transact-SQL, AspectJ, Maxima, Golo, Croc, Fennel, Ion, K, janet, SourcePawn, Koka, Ragel, Xtend, HLSL, Unicon, Gosu, HOPE, GLSL, Futhark, Felix, Jule, chaiscript, Pizza, Cryptol, BlitzMax, Nit, clay, Linden Scripting Language, GDScript, JSONiq, Whiley, Fancy, Meson, Stan, JSON with Comments, OpenEdge ABL, Shen, Superjson, Earl Grey, Cyber, monte, JSLT, Redcode, Jsonnet, Hocon, Uniform eXchange Format, Pawn, Kal, JS++, Notation3, parasail, BALGOL, Easytrieve, FloScript, wah, Flatline, Boogie, CLPR, Urbiscript, nimrod, AmbientTalk, CBOR data definition language, Procfile, Spice, hecl, PromQL, SARL, Oracle Java, boa, Deesel, RQL, juttle, RAISE Specification Language, Friendly Enough Expression Language, Tick C, bawk, GAEA, Progol
Languages without Integers include progsbase
This question asks: Does this language have a syntax and type for integers?
Read more about Integers on the web: 1.
HTML of this page generated by Features.ts