জয়েন লগইন

জাভা rint গণিত

🌈জাভা rint গণিত কি?

📋জাভা rint গণিত হলো নিকটতম পূর্ণসংখ্যায় রূপান্তর করার পদ্ধতি।

⚒️জাভা rint গণিত নিকটতম পূর্ণসংখ্যায় রূপান্তর করতে ব্যবহৃত হয়।

জাভা rint গণিত নিকটতম পূর্ণসংখ্যায় রূপান্তর করার উদাহরণ।

java
public class Main {
  public static void main(String[] args) {
    System.out.println(Math.rint(4.4));
    System.out.println(Math.rint(4.5));
    System.out.println(Math.rint(4.6));
  }
}