Decimal.Abs(Decimal) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the absolute of a value.
public:
static System::Decimal Abs(System::Decimal value) = System::Numerics::INumberBase<System::Decimal>::Abs;
C#
public static decimal Abs(decimal value);
static member Abs : decimal -> decimal
Public Shared Function Abs (value As Decimal) As Decimal
- value
- Decimal
The value for which to get its absolute.
The absolute of value
.
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 7, 8, 9, 10 |
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: