real class : B getter

Description

Get an instance of bool type with converted value from real value.

Syntax

realInstance.B

Arguments

None

Return value

ClassDescription
boolAn instance of bool type with converted value from real value.

Sample code

//anyReal is an instance of real type.

bool ConversionValue = anyReal.B;

Notes

If the real value is not 0.0, returns true. If it is 0.0, returns false.

Links for reference

None

Copyright © Rice All rights reserved.