ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:fract

Table of Contents

fract

fixed fract(fixed x)

Description

Returns the fractional part of x with the sign of x.

Examples

fract(1.2) -> 0.2;
fract(-123.456) -> -0.456;
functions/fract.txt · Last modified: 2017/07/15 15:16 by korshun