Floor('Expression')

Description

This function returns the largest integer value that is less than or equal to 'Expression’.

Example

Rounding down values of a signal waveform to whole numbers.

Task description

From a real signal waveform, the measured value should be rounded down to the nearest integer value for each sample.

Solution

In the figure below the blue curve shows the original signal and the red curve shows the signal trend with rounded-down values.