All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aevi.sdk.pos.flow.model.RoundingStrategy Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package com.aevi.sdk.pos.flow.model;

/**
 * Strategies for rounding decimal numbers.
 */
public enum RoundingStrategy {
    /**
     * Always round down. Both 15.2 and 15.9 is rounded to 15.
     */
    DOWN,
    /**
     * Round to nearest. 15.2 is rounded to 15, and 15.9 is rounded to 16.
     */
    NEAREST,
    /**
     * Always round up. Both 15.2 and 15.9 is rounded to 16.
     */
    UP
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy