Math class (C#)
Në shqip: Klasa Math në C#
ShpjegimiSQ
Klasa static Math ka funksione matematikore: Math.Round(), Math.Sqrt(), Math.Pow(), Math.Abs(), Math.Max() dhe Math.Clamp() që e mban një vlerë brenda kufijve.
EnglishEN
The static Math class has maths functions: Math.Round(), Math.Sqrt(), Math.Pow(), Math.Abs(), Math.Max() and Math.Clamp(), which keeps a value within limits.
Si ta mendosh
Si kalkulatori shkencor në bankën e klasës.
Lexoje në anglisht
Like the scientific calculator on the class desk.
Shembull kodicsharp
Math.Round(4.567, 2); // 4.57
Math.Sqrt(16); // 4
Math.Clamp(120, 0, 100); // 100