Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.

3.5.1.1.14 Frac

Contents

Description

This function returns the fractional part of a number.

Syntax

double frac( double x)

Parameters

x

is the numeric value you want to get its fractional part.

Return

Returns the fractional part of input x.

Example

frac(3.1415) = ; //should return 0.1415