You are here: Symbol Reference > MtxVecUtils Namespace > Functions > MtxVecUtils.FloatTo24Bit Function
MtxVec VCL
ContentsIndex
PreviousUpNext
MtxVecUtils.FloatTo24Bit Function

Convert single precision to 24 bit signed integer.

Pascal
procedure FloatTo24Bit(n: integer; var Src: array of single; Dst: PPBArray; Rounding: TRounding = rnRound); overload;

Convert single precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of single precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!