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
Type: SystemDecimal
Value to split.
proportions
Type: System.Collections.GenericIReadOnlyListDecimal
Split proportions.

Return Value

Type: IReadOnlyListDecimal
Splitted value by proportions.
See Also