K3 Documents

Cast to Integer

Updated on

 K3 Integer field type is held in the Java long primitive

Copy and Paste the following formula and replace placeholders {} using your field names.

Cast Decimal to Integer

{Decimal Field}.longValue()
Click to copy

Cast String to Integer

Long.valueOf({String field})
Click to copy
Previous Article Date to String with Formatting
Next Article Padding a String with Characters