Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# int16 - Runtime Docs

## int16 :: builtin

16 bit signed integer. Possible values are `-32 768` to `32 767`.

Since Lua 5.2 only uses doubles, any API that asks for `int16` will floor the given double.

Concept used in

- LuaQualityPrototype::equipment_grid_width_bonus
- LuaQualityPrototype::equipment_grid_height_bonus
- LuaStyle::top_padding
- LuaStyle::right_padding
- LuaStyle::bottom_padding
- LuaStyle::left_padding
- LuaStyle::top_margin
- LuaStyle::right_margin
- LuaStyle::bottom_margin
- LuaStyle::left_margin
- LuaStyle::top_cell_padding
- LuaStyle::right_cell_padding
- LuaStyle::bottom_cell_padding
- LuaStyle::left_cell_padding
- LuaStyle::padding
- LuaStyle::margin
- LuaStyle::cell_padding