1/* in java the default type for decimal numbers is set to double
2 so, you will have to tell java that it is float. just setting the type
3 will not do the job. you will have to add letter "f" at the end of the value
4*/
5
6// an example:
7
8float number = 69.69f ;
9
10
11