• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
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 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
Question
3 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
3 Votes
generic programming understanding memory ownership
0 Votes
overloading operators << >>
1 Votes
Wayss
0 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes
Hi
0 Votes