Skip to content

Commit

Permalink
Update Programming Framework.md
Browse files Browse the repository at this point in the history
Updated integer math comment based on feedback
  • Loading branch information
trailx authored Sep 10, 2024
1 parent 954eb36 commit 4f02dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Programming Framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4f02dc0

Please sign in to comment.