BigDecimal BigDecimal
BigDecimal BigDecimal
DocFX + Singulink = ♥

Search Results for

    Method ShiftDecimal

    ShiftDecimal(BigDecimal, int)

    Shifts the decimal point of a value by the specified number of places, effectively multiplying or dividing the value by a power of 10. A positive shift moves the decimal point to the right (i.e. increases the exponent) and a negative shift moves the decimal point to the left (i.e. decreases the exponent).

    Declaration
    public static BigDecimal ShiftDecimal(BigDecimal value, int shift)
    Parameters
    Type Name Description
    BigDecimal value
    int shift
    Returns
    Type Description
    BigDecimal
    © Singulink. All rights reserved.