Data types

The B&OM scripting language works with the data types Integer, BigInteger, Float, and String.

Data Type Min Max
I: Integer (int32) -2147483648 2147483647
L: BigInteger (int64/long) -9223372036854775808 9223372036854775807
F: Float (double) -1.7976931348623157E+308 1.7976931348623157E+308
S: String

This table lists the result data types according to data operations.

Operands Result data type
Operand 1 Operand 2 Operator + Operator - Operator * Operator /
S S S Error Error Error
S I S Error Error Error
S L S Error Error Error
S F S Error Error Error
I S S Error Error Error
I I I/L I/L I/L F
I L L L L F
I F F F F F
L S S Error Error Error
L I L L L F
L L L L L F
L F F F F F
F S S Error Error Error
F I F F F F
F L F F F F
F F F F F F