Double.Truncate(Double) Method
Definition
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.
Truncates a value.
public:
static double Truncate(double x) = System::Numerics::IFloatingPoint<double>::Truncate;
public static double Truncate (double x);
static member Truncate : double -> double
Public Shared Function Truncate (x As Double) As Double
Parameters
- x
- Double
The value to truncate.
Returns
The truncation of x
.
Implements
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.