Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI
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 Odpowiedź
+ 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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
Hello guys,
1 Votes
Help me
1 Votes
Programming
0 Votes
Give some simple practice questions in C
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes
Temperature converter( celsius to fahrenheit)
0 Votes