edoRepairerRoundDecimals< EOT > Class Template Reference

A repairer that round values at a given a precision. More...

#include <edoRepairerRound.h>

Inheritance diagram for edoRepairerRoundDecimals< EOT >:
edoRepairerApplyBinary< EOT > edoRepairerApply< EOT, typename EOT::AtomType(typename EOT::AtomType, typename EOT::AtomType) > edoRepairer< EOT > edoRepairerRound< EOT >

List of all members.

Public Types

typedef EOT::AtomType ArgType

Public Member Functions

 edoRepairerRoundDecimals (ArgType decimals)
 Generally speaking, we expect decimals being <= 1, but it can work for higher values.

Detailed Description

template<typename EOT>
class edoRepairerRoundDecimals< EOT >

A repairer that round values at a given a precision.

e.g. if prec=0.1, 8.06 will be rounded to 8.1

See also:
edoRepairerFloor
edoRepairerCeil

Definition at line 83 of file edoRepairerRound.h.


The documentation for this class was generated from the following file:
All Classes Functions Variables Typedefs