Home

0x32E

0x32E is a hexadecimal integer literal used in many programming languages. The prefix 0x denotes base-16. The digits 3, 2, E correspond to 3*(16^2) + 2*(16^1) + 14*(16^0) = 768 + 32 + 14 = 814. As a numeric value, 0x32E equals 814 in decimal.

In code it may be assigned, compared, or used in arithmetic. For example, in C: int x

In binary, 0x32E can be represented as 0011 0010 1110 in a compact form, with leading zeros

0x32E is a small hexadecimal constant and can be used in various contexts, such as offsets, masks,

Compared to decimal 814, 0x32E is simply another representation. Some contexts may also write 0x032E, which

=
0x32E;
yields
x
==
814.
In
Python:
x
=
0x32E;
print(x)
outputs
814.
In
JavaScript:
const
val
=
0x32E;
val
is
814
as
a
number.
Because
it
is
merely
a
value,
its
interpretation
does
not
depend
on
endianness;
endianness
affects
how
814
is
stored
in
memory
but
not
the
value
itself.
added
as
needed
to
fit
a
byte
or
word
boundary.
The
specific
bit-width
determines
how
many
bits
are
used
in
storage,
but
the
numeric
value
remains
814.
or
identifiers,
where
a
numeric
value
is
needed.
It
is
part
of
the
broader
convention
of
using
0x-prefixed
literals
to
denote
hex
values
in
many
programming
languages;
the
digits
are
0-9
and
A-F
(case-insensitive).
denotes
the
same
value.
See
also:
hexadecimal,
numeric
literals,
endianness.