Java Modulus Operator Tutorial - With Examples and Use-cases

Java Modulus Operator Tutorial - With Examples and Use-cases

Code Zen

2 года назад

13,857 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@amitsaxena9015
@amitsaxena9015 - 16.02.2022 18:22

Thanks

Ответить
@decoy533
@decoy533 - 28.04.2022 00:14

Thank you for the examples sir. That's the whole story behind it!

Ответить
@arjay4240
@arjay4240 - 17.10.2022 04:55

Ty you helped me get a +10 on the exam my idol

Ответить
@kamalverma4043
@kamalverma4043 - 06.02.2023 16:16

If 3%4 what is the answer

Ответить
@kylejohnson2977
@kylejohnson2977 - 29.01.2024 00:47

Hi,
I tried to calculate the following: a = (double) 34.8 % 10;
But the output came out as 4.799999237060547 instead of 4.8 which is what I expected. Why exactly does this happen and how do I fix it?

Ответить