MotoHawk:Blocks:Double to Fixed Point
From MotoHawk
Jump to navigationJump to searchContents
Double To Fixed-Point (16-Bit)
This MotoHawk™ block converts from a floating-point double to a 16-bit integer fixed point number in a given B-scale.
Block ID
Double to Fixed Point
Library
MotoHawk_lib/Fixed Point Blocks
Description
Converts from a floating-point double to a 16-bit integer fixed point number in a given B-scale (B value depends on required or likely data value range -- generally, larger B values increase value range and reduce resolution). For more information, see [../MotoHawk_topics/BScaleFixed.html Fixed Point Values and B Numbers].
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Input B Scale | Numeric | Supply applicable numeric value for "B" - larger B values increase value range and reduce resolution. |