Data Type Conversion

This table describes the types of data used for validation rules and the way the application converts them:
Number String Boolean NaN Infinity Undefined
Number NA 123 = “123”

1.5 >= “1.5”

1 = True

0 = True

-10 = True

NA NA NA
String “ ” — 0

“1asda” = 0

“1.5” = 1.5

“2,3” = 0

NA “ ” = False

”anything” = True

“0” = True

“False” = True

NA NA NA
Boolean True = 1

False = 0

True = “True”

False = “ ”

NA NA NA NA
NaN NaN “ ” False NA NA NA
Infinity Infinity “ ” False NA NA NA
Undefined 0 “ ” False NA NA NA