Cast to Int
Cast to Int
Description
Converts a value to the int type.
Category
Transformation
Supported Field Types
- text
- float
- boolean
Output Field Type
- int
Arguments
None
Pseudo-code (Python)
def func(val):
"""
val: original value
"""
if val:
return int(val)
else:
return None