Click or drag to resize

CurrencyHelperCurrencySpecificFractionalDistributeUniformly Method

Split value by proportions corresponding current currency fractional part length.

Namespace: Resto.Front.Api.Data.Payments
Assembly: Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
public static IReadOnlyList<decimal> CurrencySpecificFractionalDistributeUniformly(
	decimal value,
	IReadOnlyList<decimal> proportions
)

Parameters

value  Decimal
Value to split.
proportions  IReadOnlyListDecimal
Split proportions.

Return Value

IReadOnlyListDecimal
Splitted value by proportions.
See Also