Thursday, 12 September 2013

Java error "possible loss of precision"

Java error "possible loss of precision"

I am in a computer science class (11th) for hw i have to do some code
following a picture --------------------Configuration:
-------------------- C:\Users\I_SLAY_NOOBS\Desktop\Variables.java:26:
error: possible loss of precision float floatOne = 58.5678; ^ required:
float found: double 1 error
Process completed.

No comments:

Post a Comment