Types/float: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Not a stub)
 
Line 1: Line 1:
{{stub}}
The format uses dot as decimal delimiter
The format uses dot as decimal delimiter
    7.5
<syntaxhighlight lang="lua">7.5
    6
6</syntaxhighlight>


To store/parse floats the single precision floating point format is used.
To store/parse floats the single precision floating point format is used.


http://en.wikipedia.org/wiki/Single_precision
http://en.wikipedia.org/wiki/Single_precision

Latest revision as of 12:33, 7 September 2020

The format uses dot as decimal delimiter

7.5
6

To store/parse floats the single precision floating point format is used.

http://en.wikipedia.org/wiki/Single_precision