AmountConvertedTo(Unit, Int32) Method

Returns an Amount converted to the specified Unit and rounded up to the given decimal precision.

Definition

Namespace: DevCase.Core.Math.Science
Assembly: 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
)

Parameters

unit  Unit
The Unit to converto to.
decimals  Int32
The decimal precision.

Return Value

Amount
The resulting Amount.

See Also