Class ConvertToPercentage
java.lang.Object
com.aquima.interactions.expressions.functions.convert.ConvertToNumericBase
com.aquima.interactions.expressions.functions.convert.ConvertToPercentage
- All Implemented Interfaces:
IFunction
,Serializable
Conversion function that is able to convert any numeric data type to a percentage.
- Since:
- 7.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConvertToPercentage
(DataType fromType) Constructs the function with the type of the argument. -
Method Summary
Methods inherited from class com.aquima.interactions.expressions.functions.convert.ConvertToNumericBase
determineResultType, evaluate, getArguments, isDeprecated
-
Constructor Details
-
ConvertToPercentage
Constructs the function with the type of the argument.- Parameters:
fromType
- The type of the argument that needs to be converted.
-
-
Method Details
-
toValue
- Specified by:
toValue
in classConvertToNumericBase
-
toValue
- Specified by:
toValue
in classConvertToNumericBase
-
getName
Description copied from interface:IFunction
This method returns the name of the function.- Returns:
- the name of the function.
-