Search Results for

    Show / Hide Table of Contents

    Enum RoundingLevel

    The amount of decimal places to round to when using the Rounder

    Namespace: LemonEdge.API.Entities.FinancialServices.Transactions
    Assembly: LemonEdge.API.Entities.FinancialServices.dll
    Syntax
    public enum RoundingLevel : short

    Fields

    Name Description
    Cents

    Round to nearest .01, using bankers rounding.

    Currency

    Round to the currency number of decimal places, using bankers rounding.

    Hundreds

    Round to nearest hundred, using bankers rounding.

    Singles

    Round to nearest whole number, using bankers rounding.

    TenCents

    Round to nearest .1, using bankers rounding.

    Tens

    Round to nearest ten, using bankers rounding.

    Extension Methods

    LinqExtensions.AsArray<RoundingLevel>(RoundingLevel)
    LinqExtensions.ToArrayOfOne<RoundingLevel>(RoundingLevel)
    LinqExtensions.ToListOfOne<RoundingLevel>(RoundingLevel)
    MiscExtensions.SetIfNotEqual<RoundingLevel, TP>(RoundingLevel, Expression<Func<RoundingLevel, TP>>, TP)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.