From 4f02dc0b50d33d9dc286d16bc64f31627546efc9 Mon Sep 17 00:00:00 2001 From: trailx <36086061+trailx@users.noreply.github.com> Date: Tue, 10 Sep 2024 08:24:13 -0400 Subject: [PATCH] Update Programming Framework.md Updated integer math comment based on feedback --- docs/Programming Framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Programming Framework.md b/docs/Programming Framework.md index 7c2953d7165..c2314dc627e 100644 --- a/docs/Programming Framework.md +++ b/docs/Programming Framework.md @@ -24,7 +24,7 @@ INAV Programming Framework consists of: IPF can be edited using INAV Configurator user interface, or via CLI. To use COnfigurator, click the tab labeled "Programming". The various options shown in Configurator are described below. -**Note:** IPF uses non-floating-point math, so it only can return integers. If your programming line returns a decimal, it will be reduced an integer. So if your math is `1` / `3` = , IPF will truncate the decimal and return `0`. +**Note:** IPF uses integer math. If your programming line returns a decimal, it will be truncated to an integer. So if your math is `1` / `3` = , IPF will truncate the decimal and return `0`. ## Logic Conditions