³ª¸ÓÁö¸¦ ±¸ÇÏ´Â ¿¹Á¦
TestIEEEremainder.java
public class TestIEEEremainder {
public static void main(String args[]) {
double a = 7.0;
double b = 3.0;
System.out.println("The remainder is " + Math.IEEEremainder(a, b));
}
}
C:\javaExample\Math>javac TestIEEEremainder.java
C:\javaExample\Math>java TestIEEEremainder
The remainder is 1.0
MathŬ·¡½ºÀÇ IEEEremainder()¸¦ ÀÌ¿ëÇØ¼ ½Ç¼öÀÇ ³ª¸ÓÁö¸¦ ±¸ÇÒ ¼ö ÀÖ´Ù.
jabookÀúÀÚ¸íÇÔ |
Á¦¸ñ:¼Ò¼³°°Àº¹Ì´ÏÄÚµå ÀÛ¼ºÀÚ:Àںϸâ¹ö ÇÑâÇå |