code:numberformats

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

code:numberformats [2017/12/09 18:19] Igor Yefmov [UFIX 8.8] |
code:numberformats [2017/12/19 05:21] (current) Igor Yefmov [UFIX 8.8] |
||
---|---|---|---|

Line 14: | Line 14: | ||

===== UFIX 8.8 ===== | ===== UFIX 8.8 ===== | ||

- | This is a 16-bit value in which 8 MSB represent the unsigned integer part of the number and the 8 LSB represent the fractional part. The fractional value is the ''LSB x 256'', i.e. the smallest "increment" for this format is ''1/256'' or ''0.00390625''. | + | This is a 16-bit value in which 8 MSB represent the unsigned integer part of the number and the 8 LSB represent the fractional part. The fractional value is the ''LSB x 256'', i.e. the smallest "increment" for this format is ''1/256'' or ''0.00390625''. |

Numbers in this format represent a decimal range of ''[0.0..256)''. | Numbers in this format represent a decimal range of ''[0.0..256)''. |

/home/adminsub2r/public_html/dokuwiki/data/pages/code/numberformats.txt · Last modified: 2017/12/19 05:21 by Igor Yefmov