Class: NumberToNearestIntegerConverter

montage/core/converter/number-to-nearest-integer-converter~ NumberToNearestIntegerConverter

new NumberToNearestIntegerConverter()

Converts a number to an integer
Source:

Extends

Members

allowPartialConversion :boolean

Specifies whether the converter allows partial conversion.
Type:
  • boolean
Inherited From:
Default Value:
  • true
Source:

Methods

convert()

Converts values from the input domain into the output range.
Inherited From:
Default Value:
  • null
Source:

revert()

Optionally, reverts values from the output range, back into the input range. This may not be possible with high fidelity depending on the relationship between these domains.
Inherited From:
Default Value:
  • null
Source: