MotoHawk:Blocks:Double to Fixed Point

From MotoHawk
Revision as of 14:20, 3 July 2012 by Wendy.Bolakowski (talk | contribs) (Created page with "=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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

Double to Fixed Point.PNG

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.