QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
UpRounding Class Reference

Up-rounding. More...

#include <rounding.hpp>

+ Inheritance diagram for UpRounding:
+ Collaboration diagram for UpRounding:

Public Member Functions

 UpRounding (Integer precision, Integer digit=5)
 
- Public Member Functions inherited from Rounding
 Rounding ()=default
 default constructor More...
 
 Rounding (Integer precision, Type type=Closest, Integer digit=5)
 
Decimal operator() (Decimal value) const
 perform rounding More...
 
Integer precision () const
 
Type type () const
 
Integer roundingDigit () const
 

Additional Inherited Members

- Public Types inherited from Rounding
enum  Type {
  None , Up , Down , Closest ,
  Floor , Ceiling
}
 rounding methods More...
 

Detailed Description

Up-rounding.

Definition at line 90 of file rounding.hpp.

Constructor & Destructor Documentation

◆ UpRounding()

UpRounding ( Integer  precision,
Integer  digit = 5 
)
explicit

Definition at line 92 of file rounding.hpp.