AmountConvertedTo(Unit, Int32) Method
Returns an
Amount converted to the specified
Unit and rounded
up to the given decimal precision.
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 ConvertedTo(
Unit unit,
int decimals
)
Public Function ConvertedTo (
unit As Unit,
decimals As Integer
) As Amount
Dim instance As Amount
Dim unit As Unit
Dim decimals As Integer
Dim returnValue As Amount
returnValue = instance.ConvertedTo(unit,
decimals)
public:
Amount^ ConvertedTo(
Unit^ unit,
int decimals
)
member ConvertedTo :
unit : Unit *
decimals : int -> Amount
No code example is currently available or this language may not be supported.
- unit Unit
-
The Unit to converto to.
- decimals Int32
-
The decimal precision.
Amount
The resulting
Amount.