(BLOCK (PARA (TEXT "Values of this type denote a numeric integer value.")) (HEADING 1 () "allowed-values" "allowed-values" (TEXT "Allowed values")) (PARA (TEXT "Must be a sequence of digits (") (FORMAT-QUOTE () (TEXT "0")) (TEXT "–") (FORMAT-QUOTE () (TEXT "9")) (TEXT "), optionally prefixed with a ") (FORMAT-QUOTE () (TEXT "-")) (TEXT " or a ") (FORMAT-QUOTE () (TEXT "+")) (TEXT " character.")) (HEADING 1 () "query-comparison" "query-comparison" (TEXT "Query comparison")) (PARA (LINK-ZETTEL () "00001007705000" (TEXT "Search operators")) (TEXT " for equality (") (FORMAT-QUOTE () (TEXT "equal")) (TEXT " or ") (FORMAT-QUOTE () (TEXT "not equal")) (TEXT ", ") (FORMAT-QUOTE () (TEXT "has")) (TEXT " or ") (FORMAT-QUOTE () (TEXT "not has")) (TEXT "), for lesser values (") (FORMAT-QUOTE () (TEXT "less")) (TEXT " or ") (FORMAT-QUOTE () (TEXT "not less")) (TEXT "), or for greater values (") (FORMAT-QUOTE () (TEXT "greater")) (TEXT " or ") (FORMAT-QUOTE () (TEXT "not greater")) (TEXT ") are executed by converting both the ") (LINK-ZETTEL () "00001007706000" (TEXT "search value")) (TEXT " and the metadata value into integer values and then comparing them numerically.") (SOFT) (TEXT "Integer values must be in the range -9223372036854775808 … 9223372036854775807.") (SOFT) (TEXT "Comparisons with metadata values outside this range always returns a negative match.") (SOFT) (TEXT "Comparisons with search values outside this range will be executed as a comparison of the string representation values.")) (PARA (TEXT "All other comparisons (") (FORMAT-QUOTE () (TEXT "match")) (TEXT ", ") (FORMAT-QUOTE () (TEXT "not match")) (TEXT ", ") (FORMAT-QUOTE () (TEXT "prefix")) (TEXT ", ") (FORMAT-QUOTE () (TEXT "not prefix")) (TEXT ", ") (FORMAT-QUOTE () (TEXT "suffix")) (TEXT ", and ") (FORMAT-QUOTE () (TEXT "not suffix")) (TEXT ") are done on the given string representation of the number.") (SOFT) (TEXT "In this case, the number ") (FORMAT-QUOTE () (TEXT "+12")) (TEXT " will be treated as different to the number ") (FORMAT-QUOTE () (TEXT "12")) (TEXT ".")) (HEADING 1 () "sorting" "sorting" (TEXT "Sorting")) (PARA (TEXT "Sorting is done by comparing the numeric values.")))