- All Superinterfaces:
DoubleValued,FloatValued,NumericValued,ScalarTyped,ScalarValued,TokenTyped,TokenValued
- All Known Subinterfaces:
MoneyInputField,MoneyValuedIterator
- All Known Implementing Classes:
MoneyRegister,MoneyToken,NullToken
A
TokenValued object containing a money value.- See Also:
-
TokenTypeConstant#MONEY
-
Field Summary
Fields inherited from interface com.pervasive.datarush.tokens.scalar.NumericValued
MAX_INFINITY, MIN_INFINITY -
Method Summary
Methods inherited from interface com.pervasive.datarush.tokens.scalar.DoubleValued
asDoubleMethods inherited from interface com.pervasive.datarush.tokens.scalar.FloatValued
asFloatMethods inherited from interface com.pervasive.datarush.tokens.scalar.NumericValued
asBigDecimalMethods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
getType, isZeroMethods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
Method Details
-
asCents
long asCents()Gets the contained cents value as a long- Returns:
- the contained cents value as a
long. If null valued, as indicated byTokenValued.isNull(),0is returned.
-