Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Group
Reviews
About us
Start
Start learning
Start learning now
Articles
Authors
All groups
All Articles List
CodeGym
/
Java Blog
/
Java Numbers
Java Numbers
182 members
Leaderboard
Popular
New
Old
Jesse Haniel
Java Numbers
18 July 2018 10:14
Numeric operators in Java
Hi! Today we'll consider a very important topic, namely, numeric operators in Java. In programming, numbers are everywhere. If you dig deep and remember high school, you may recall that a computer represents all information in a numerical format: combinations of zeros and ones, also known as binary code ...
Alex Vypirailenko
Java Numbers
4 August 2022 7:18
Java Bitwise operators
You're probably familiar with the word "bit". If not, let's recall what it means :) A bit is the smallest unit of information in a computer. Its name comes from binary digit. A bit can be expressed by one of two numbers: 1 or 0. There is a special binary number system based on ones and zeros ...
Aditi Nawghare
Java Numbers
11 November 2022 14:11
Widening and Narrowing of primitive types
Hi! As you have progressed through CodeGym, you've encountered primitive types many times. Here is a short list of what we know about them: they are not objects and represent a value stored in memory, there are several kinds, each type has its own range of values ...
Oleksandr Miadelets
Java Numbers
10 January 2025 8:25
BigDecimal in Java
Hi! In today's lesson, we'll talk about large numbers. No, I mean REALLY BIG. We have previously repeatedly encountered the table of value ranges for primitive data types. It looks like this...
Volodymyr Portianko
Java Numbers
10 January 2023 10:00
Autoboxing and Unboxing in Java
In Java, a feature of primitives and their wrappers is autoboxing/unboxing. Let's dig into this concept. As we've already learned, Java is an object-oriented language. That means that all programs written in Java are made of objects.
John Selawsky
Java Numbers
7 March 2023 12:34
Java floor() method
A floor function which is also known as the greatest integer function in maths takes a real number “x” as an input. It returns the greatest integer that is less than or equal to input number x. It is normally denoted as floor(x) or ⌊x⌋. It is used...
Artem Divertitto
Java Numbers
9 February 2023 14:46
Integer MAX_VALUE in Java with Examples
What is Integer.MAX_VALUE in Java? The Integer.MAX_VALUE in Java is a constant that represents the maximum positive integer value...
Alex Vypirailenko
Java Numbers
20 December 2024 11:08
How to convert String to int in Java
In this article we are going to discuss converting String to int (primitive type) and Object type (wrapper) Integer. There are many ways to do it in Java.
Artem Divertitto
Java Numbers
23 September 2023 7:22
Java Convert Binary to Decimal
Numbers that have only 2 digits, 0 and 1, are called binary numbers. They are expressed only in the base 2 number system. We know that the binary system is the native digital language of modern computers. But we are more accustomed to decimal numbers...
John Selawsky
Java Numbers
25 December 2024 8:35
How to Convert Long to Int in Java
In this article we are going to explain how to convert long to int in Java and write some code examples. Since long is a larger data type than int, here we should use type casting for such conversion...
Milan Vucic
Java Numbers
29 June 2022 13:43
Java Float Keyword
At some point in the development of computing technology, it became clear that central processing units needed hardware devices to process floating point numbers. Today, all computer architectures can work effectively with such numbers. Of course, in programming languages, you also cannot do...
Alex Vypirailenko
Java Numbers
16 February 2025 9:12
Java double keyword
The Java double keyword, as in any other language, indicates a computer format for representing a floating point number, occupying 64 bits, or 8 bytes, in memory. In this article we are going to talk...
Show more
1
2
Please enable JavaScript to continue using this application.