real class : Floor() method

Description

Gets an new instance of the real type that has the largest integer less than or equal to the instance value.

Syntax

realInstance.Floor()

Arguments

None

Return value

ClassDescription
realAn new instance of the real type that has the largest integer less than or equal to the instance value.

Sample code

//anyReal is a instance of real type.

real newInstance = anyReal.Floor();

Notes

It's a wrapper of the System.Math.Floor(Double).

Links for reference

Copyright © Rice All rights reserved.