Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/math/rounding"
FloorTruncation
Class FloorTruncation
Hierarchy
Rounding
FloorTruncation
Implements
UnaryFunction
<
Decimal
,
Decimal
>
Index
Enumerations
Type
Constructors
constructor
Methods
f
precision
rounding
Digit
type
Constructors
constructor
new
Floor
Truncation
(
precision
:
Integer
, digit
?:
Integer
)
:
FloorTruncation
Parameters
precision:
Integer
Default value
digit:
Integer
= 5
Returns
FloorTruncation
Methods
f
f
(
value
:
Decimal
)
:
Decimal
Parameters
value:
Decimal
Returns
Decimal
precision
precision
(
)
:
Integer
Returns
Integer
rounding
Digit
rounding
Digit
(
)
:
Integer
Returns
Integer
type
type
(
)
:
Type
Returns
Type
Globals
"ql/math/rounding"
Ceiling
Truncation
Closest
Rounding
Down
Rounding
Floor
Truncation
Type
constructor
f
precision
rounding
Digit
type
Rounding
Up
Rounding