Amount Constructor
Initializes a new instance of the
Amount class.
Namespace: DevCase.Core.Math.ScienceAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Amount(
double value,
Unit unit
)
Public Sub New (
value As Double,
unit As Unit
)
Dim value As Double
Dim unit As Unit
Dim instance As New Amount(value, unit)
public:
Amount(
double value,
Unit^ unit
)
new :
value : float *
unit : Unit -> Amount
No code example is currently available or this language may not be supported.
Parameters
- value Double
-
The value of the amount.
- unit Unit
-
The Unit of the amount.