ShrinkFloatingPoint

ShrinkFloatingPoint (FUN)

FUNCTION ShrinkFloatingPoint : REAL

This function shrinks a floating point value to the given amount of decimal places

InOut:

Scope
Name
Type
Comment

Return

ShrinkFloatingPoint

REAL

Input

rInput

REAL

Input of the real value

Input

diDecimalPlaces

DINT

Number of decimal points

Zuletzt aktualisiert