Java 5: Casting int to double, and formatting a double to 2 decimal places

Published: 15 March 2020
on channel: Selected Topics in IT
9,766
55

Using the program we worked on in the previous video titled: Java 4: Finding the average of 4 numbers entered by user (   • Java 4:  Finding the average of 4 num...  ), we will cast an int to double to have the average display the decimal remainders.

Also helpful:    • Java 64: Truncate a double using BigD...  
C# version:    • C# 5:  Convert or cast an integer to ...  ,    • C# 6:  Format a double to a specified...  


Watch video Java 5: Casting int to double, and formatting a double to 2 decimal places online without registration, duration hours minute second in high quality. This video was added by user Selected Topics in IT 15 March 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,766 once and liked it 55 people.