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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.