Answers for "float in java"

1

java double to float

double d = getInfoValueNumeric();
float f = (float)d;
Posted by: Guest on September-06-2020
0

float java

float pi = 3.1415f; // put "f" at the end
Posted by: Guest on December-23-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language