enum
Tablo::Functions::FPAlign
Overview
Used by Tablo::Functions.fp_align class method for floats formatting, where
all trailing decimal zeroes are replaced by spaces.
Special formatting is further applied depending on enum values:
- Blank: Whole field is blank if value == 0
- NoDot: Decimal part of field (including dot) is blank if all decimals are zeroes
- DotOnly: Decimal part of field is blank if all decimals are zeroes
- DotZero: Decimal part of field is blank if all decimals are zeroes, except first (.0)
Defined in:
tablo.crEnum Members
-
Blank =
0 -
NoDot =
1 -
DotOnly =
2 -
DotZero =
3
Instance Method Summary
-
#blank?
Returns
trueif this enum value equalsBlank -
#dot_only?
Returns
trueif this enum value equalsDotOnly -
#dot_zero?
Returns
trueif this enum value equalsDotZero -
#no_dot?
Returns
trueif this enum value equalsNoDot