floating points in java

Published: 07 October 2022
on channel: Gua Java
14
1

what is datatype?
Defines what type of data your variable will hold. Means depending upon the type of data, datatype is associated with the variable.

Example:
If you want to store whether user is login or not, use Boolean.

In this video we will discuss floating points in detail which are as follow.
floating points:
float
double

float datatype?
These are the numbers that have decimal point i.e., fraction.
E.g., 2/4 is equal 0.5
its width is 32 bits and approximate range is 1.4e-045 to 3.4e+038.
its precision is almost six digits.

Double datatype?
These are also the numbers that have decimal point i.e., fraction.
E.g., 2/4 is equal 0.5
its width is 64 bits and approximate range is 4.9e-342 to 1.8e+308.
its precision is almost 15 digits.


On this page of the site you can watch the video online floating points in java with a duration of hours minute second in good quality, which was uploaded by the user Gua Java 07 October 2022, share the link with friends and acquaintances, this video has already been watched 14 times on youtube and it was liked by 1 viewers. Enjoy your viewing!