SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Introduction to Java

» Start this Course
(Practice similar questions for free)
Question:

Floating point numbers (float, double)

Author: Christian N



Answer:

Literals: • 0.23, -47.11 • Scientific notation: -1.23E-45 (= -1,23x10-45) • In principle double; float can be forced by a suffix f or F Operations: • additive: +, - (binary and unary) • multiplicative: *, / • comparison: == (attention – often imprecise!), !=, >, <, >=, <=


0 / 5  (0 ratings)

1 answer(s) in total