Number

A numeric value in LogScale can be either an integer (whole number) or a floating-point number (with decimal places). LogScale automatically handles the appropriate numeric type based on the value and context, supporting both 32-bit and 64-bit precision for integers and floating-point values.

Numbers can be positive or negative, and LogScale performs automatic type conversion between strings and numbers when appropriate. Numeric literals can be written in standard decimal notation or scientific notation for very large or small values.

Examples include simple integers like 42 or -17, floating-point values like 3.14159 or 0.001, and scientific notation like 1.5e10 for large numbers.

Integers
logscale
count := 42
port := 443
Floating-point Numbers
logscale
ratio := 3.14159
percentage := 0.95
Negative Numbers
logscale
temperature := -17
balance := -250.50
Scientific Notation
logscale
large_number := 1.5e10
small_number := 2.3e-5

Functions using this Type: dropEvent(), eval(), fieldset()