O
Obi Wan Shinobi
Hello there,
I've just started learning Java. What I would like to know is if I
have a variable of type double or float, how can I extract the
fractional portion of that number and place it into a short or int
variable?
Many thanks in advance.
I've just started learning Java. What I would like to know is if I
have a variable of type double or float, how can I extract the
fractional portion of that number and place it into a short or int
variable?
Many thanks in advance.