what is meant by floating constant in Java? How many ways can a floating constant be represented into?
Answers
Answered by
2
A "floating-point constant" is a decimal number that represents a signed real number. The representation of a signed real number includes an integer portion, a fractional portion, and an exponent. Use floating-point constants to represent floating-point values that can't be changed.
Floating constants are represented in Python in two forms — Fractional Form and Exponent form.
Answered by
1
Answer:
A Floating constant is a decimal number that represents a signed real number.
Floating constants are represented in
1 : PYTHON — Fractional Form and Exponent form.
2 : JAVA - Double & Float.
Thanks,
:-)
Similar questions
Math,
15 hours ago
Computer Science,
15 hours ago
Math,
15 hours ago
Biology,
1 day ago
Social Sciences,
8 months ago
Hindi,
8 months ago