• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
0

the absolute value of a number on c#?

need to compare the absolute values ​​of numbers

c#
18th Sep 2019, 7:27 PM
Angelina
Angelina - avatar
1 ответ
+ 4
https://docs.microsoft.com/en-us/dotnet/api/system.math.abs?view=netframework-4.8 like this ? Math.Abs(x) < Math.abs(y)
18th Sep 2019, 8:04 PM
Taste
Taste - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Is it possible to convert .zip file to apk? If yes, how??
1 Votes
Pointers cpp
3 Votes
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
1 Votes
Why can’t I use double “ in python?
0 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
0 Votes
Is pro worth the money ?
2 Votes
Coding for Cybersecurity
0 Votes
Pointers in c#
0 Votes
2 cases not correct what's the problem
1 Votes
You’re free to give me your advice! 🚨
0 Votes