what is a floating point number in java code example Example: what is a float java float int = 3.1415 //pi is a float because it is a decimal