real class : I getter

Description

Gets an instance of int type that have a value that truncate the fractional part.

Syntax

realInstance.I

Arguments

None

Return value

ClassDescription
intAn instance of int type that have a value that truncate the fractional part.

Sample code

//anyReal is a instance of real type.

int cast = anyReal.I;

Notes

Exception is thrown if the value of the instance is over the limit of int type.

Links for reference

None

Copyright © Rice All rights reserved.